2018-07-03 11:14:53 +08:00
|
|
|
<div class="admin-title">
|
2017-11-15 08:13:50 +08:00
|
|
|
{{period-chooser period=period}}
|
2017-11-29 01:54:27 +08:00
|
|
|
{{combo-box content=searchTypeOptions value=searchType class='search-logs-filter'}}
|
2018-07-03 11:14:53 +08:00
|
|
|
</div>
|
2017-11-15 08:13:50 +08:00
|
|
|
|
|
|
|
{{#conditional-loading-spinner condition=loading}}
|
|
|
|
{{#if model.length}}
|
|
|
|
|
2018-07-03 11:14:53 +08:00
|
|
|
<table class='search-logs-list grid'>
|
|
|
|
<thead>
|
|
|
|
<th class="col heading term">{{i18n 'admin.logs.search_logs.term'}}</th>
|
|
|
|
<th class="col heading">{{i18n 'admin.logs.search_logs.searches'}}</th>
|
|
|
|
<th class="col heading">{{i18n 'admin.logs.search_logs.click_through'}}</th>
|
|
|
|
<th class="col heading" title="{{i18n 'admin.logs.search_logs.unique_title'}}">{{i18n 'admin.logs.search_logs.unique'}}</th>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
2017-11-15 08:13:50 +08:00
|
|
|
{{#each model as |item|}}
|
2018-07-03 11:14:53 +08:00
|
|
|
<tr class="admin-list-item">
|
|
|
|
<td class="col term">
|
2017-12-20 10:41:31 +08:00
|
|
|
{{#link-to 'adminSearchLogs.term' item.term}}{{item.term}}{{/link-to}}
|
2018-07-03 11:14:53 +08:00
|
|
|
</td>
|
|
|
|
<td class="col"><div class="label">{{i18n 'admin.logs.search_logs.searches'}}</div>{{item.searches}}</td>
|
|
|
|
<td class="col"><div class="label">{{i18n 'admin.logs.search_logs.click_through'}}</div>{{item.click_through}}</td>
|
|
|
|
<td class="col"><div class="label">{{i18n 'admin.logs.search_logs.unique'}}</div>{{item.unique}}</td>
|
|
|
|
</tr>
|
2017-11-15 08:13:50 +08:00
|
|
|
{{/each}}
|
2018-07-03 11:14:53 +08:00
|
|
|
</tbody>
|
|
|
|
</table>
|
2017-11-15 08:13:50 +08:00
|
|
|
|
|
|
|
{{else}}
|
|
|
|
{{i18n 'search.no_results'}}
|
|
|
|
{{/if}}
|
|
|
|
{{/conditional-loading-spinner}}
|