2017-11-15 08:13:50 +08:00
|
|
|
<p>
|
|
|
|
{{period-chooser period=period}}
|
2017-11-29 01:54:27 +08:00
|
|
|
{{combo-box content=searchTypeOptions value=searchType class='search-logs-filter'}}
|
2017-11-15 08:13:50 +08:00
|
|
|
</p>
|
|
|
|
<br>
|
|
|
|
|
|
|
|
{{#conditional-loading-spinner condition=loading}}
|
|
|
|
{{#if model.length}}
|
|
|
|
|
|
|
|
<div class='table search-logs-list'>
|
|
|
|
<div class="heading-container">
|
|
|
|
<div class="col heading term">{{i18n 'admin.logs.search_logs.term'}}</div>
|
|
|
|
<div class="col heading">{{i18n 'admin.logs.search_logs.searches'}}</div>
|
|
|
|
<div class="col heading">{{i18n 'admin.logs.search_logs.click_through'}}</div>
|
2017-11-28 17:57:55 +08:00
|
|
|
<div class="col heading" title="{{i18n 'admin.logs.search_logs.unique_title'}}">{{i18n 'admin.logs.search_logs.unique'}}</div>
|
2017-11-15 08:13:50 +08:00
|
|
|
</div>
|
|
|
|
|
|
|
|
{{#each model as |item|}}
|
|
|
|
<div class="admin-list-item">
|
2017-12-20 10:41:31 +08:00
|
|
|
<div class="col term">
|
|
|
|
{{#link-to 'adminSearchLogs.term' item.term}}{{item.term}}{{/link-to}}
|
|
|
|
</div>
|
2017-11-15 08:13:50 +08:00
|
|
|
<div class="col">{{item.searches}}</div>
|
|
|
|
<div class="col">{{item.click_through}}</div>
|
|
|
|
<div class="col">{{item.unique}}</div>
|
|
|
|
</div>
|
|
|
|
{{/each}}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{{else}}
|
|
|
|
{{i18n 'search.no_results'}}
|
|
|
|
{{/if}}
|
|
|
|
{{/conditional-loading-spinner}}
|