2014-12-07 12:15:22 +08:00
|
|
|
<p>
|
|
|
|
{{i18n 'admin.logs.screened_urls.description'}}
|
|
|
|
</p>
|
2018-10-25 04:09:36 +08:00
|
|
|
<button class="btn btn-default" {{action "exportScreenedUrlList"}} title="{{i18n 'admin.export_csv.button_title.screened_url'}}">{{d-icon "download"}}{{i18n 'admin.export_csv.button_text'}}</button>
|
2015-04-03 18:40:17 +08:00
|
|
|
<br>
|
2013-08-15 22:48:30 +08:00
|
|
|
|
2015-04-29 05:05:06 +08:00
|
|
|
{{#conditional-loading-spinner condition=loading}}
|
2013-08-15 22:48:30 +08:00
|
|
|
{{#if model.length}}
|
2018-07-13 13:43:40 +08:00
|
|
|
<table class='screened-urls grid'>
|
|
|
|
<thead>
|
|
|
|
<th class="first domain">{{i18n 'admin.logs.screened_urls.domain'}}</th>
|
|
|
|
<th class="action">{{i18n 'admin.logs.action'}}</th>
|
|
|
|
<th class="match_count">{{i18n 'admin.logs.match_count'}}</th>
|
|
|
|
<th class="last_match_at">{{i18n 'admin.logs.last_match_at'}}</th>
|
|
|
|
<th class="created_at">{{i18n 'admin.logs.created_at'}}</th>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
2016-11-25 01:58:06 +08:00
|
|
|
{{#each model as |url|}}
|
2018-07-13 13:43:40 +08:00
|
|
|
<tr class="admin-list-item">
|
|
|
|
<td class="col first domain">
|
2016-11-25 01:58:06 +08:00
|
|
|
<div class="overflow-ellipsis" title={{url.domain}}>{{url.domain}}</div>
|
2018-07-13 13:43:40 +08:00
|
|
|
</td>
|
|
|
|
<td class="col action">{{url.actionName}}</td>
|
|
|
|
<td class="col match_count"><div class="label">{{i18n 'admin.logs.match_count'}}</div>{{url.match_count}}</td>
|
|
|
|
<td class="col last_match_at"><div class="label">{{i18n 'admin.logs.last_match_at'}}</div>{{age-with-tooltip url.last_match_at}}</td>
|
|
|
|
<td class="col created_at"><div class="label">{{i18n 'admin.logs.created_at'}}</div>{{age-with-tooltip url.created_at}}</td>
|
|
|
|
</tr>
|
2016-11-25 01:58:06 +08:00
|
|
|
{{/each}}
|
2018-07-13 13:43:40 +08:00
|
|
|
</tbody>
|
|
|
|
</table>
|
2013-08-15 22:48:30 +08:00
|
|
|
{{else}}
|
2014-12-09 05:35:49 +08:00
|
|
|
{{i18n 'search.no_results'}}
|
2013-08-15 22:48:30 +08:00
|
|
|
{{/if}}
|
2015-04-29 05:05:06 +08:00
|
|
|
{{/conditional-loading-spinner}}
|