discourse/app/assets/javascripts/admin/templates/logs/screened-urls.hbs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

40 lines
1.6 KiB
Handlebars
Raw Normal View History

2014-12-06 23:15:22 -05:00
<p>
{{i18n 'admin.logs.screened_urls.description'}}
</p>
{{d-button
class="btn-default"
action=(action "exportScreenedUrlList")
title="admin.export_csv.button_title.screened_url"
icon="download"
label="admin.export_csv.button_text"}}
<br>
2013-08-15 10:48:30 -04:00
2015-04-28 17:05:06 -04:00
{{#conditional-loading-spinner condition=loading}}
2013-08-15 10:48:30 -04:00
{{#if model.length}}
2018-07-13 01:43:40 -04: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>
{{#each model as |url|}}
2018-07-13 01:43:40 -04:00
<tr class="admin-list-item">
<td class="col first domain">
<div class="overflow-ellipsis" title={{url.domain}}>{{url.domain}}</div>
2018-07-13 01:43:40 -04: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>
{{/each}}
2018-07-13 01:43:40 -04:00
</tbody>
</table>
2013-08-15 10:48:30 -04:00
{{else}}
{{i18n 'search.no_results'}}
2013-08-15 10:48:30 -04:00
{{/if}}
2015-04-28 17:05:06 -04:00
{{/conditional-loading-spinner}}