{{period-chooser period=period onChange=(mut period)}} {{combo-box content=searchTypeOptions value=searchType class="search-logs-filter" onChange=(mut searchType) }}
{{#conditional-loading-spinner condition=loading}} {{#if model.length}} {{#each model as |item|}} {{/each}}
{{i18n "admin.logs.search_logs.term"}} {{i18n "admin.logs.search_logs.searches"}} {{i18n "admin.logs.search_logs.click_through_rate"}}
{{#link-to "adminSearchLogs.term" (query-params term=item.term period=period) class="test"}} {{item.term}} {{/link-to}}
{{i18n "admin.logs.search_logs.searches"}}
{{item.searches}}
{{i18n "admin.logs.search_logs.click_through_rate"}}
{{item.ctr}}%
{{else}} {{i18n "search.no_results"}} {{/if}} {{/conditional-loading-spinner}}