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

36 lines
1.5 KiB
Handlebars
Raw Normal View History

2014-12-07 12:15:22 +08:00
<p>
{{i18n 'admin.logs.screened_urls.description'}}
<button class="btn pull-right" {{action "exportScreenedUrlList"}} title="{{i18n 'admin.export_csv.button_title.screened_url'}}">{{fa-icon "download"}}{{i18n 'admin.export_csv.button_text'}}</button>
</p>
<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}}
<div class='table screened-urls'>
<div class="heading-container">
<div class="col heading first domain">{{i18n 'admin.logs.screened_urls.domain'}}</div>
<div class="col heading action">{{i18n 'admin.logs.action'}}</div>
<div class="col heading match_count">{{i18n 'admin.logs.match_count'}}</div>
<div class="col heading last_match_at">{{i18n 'admin.logs.last_match_at'}}</div>
<div class="col heading created_at">{{i18n 'admin.logs.created_at'}}</div>
2013-08-15 22:48:30 +08:00
<div class="clearfix"></div>
</div>
{{#each model as |url|}}
<div class="admin-list-item">
<div class="col first domain">
<div class="overflow-ellipsis" title={{url.domain}}>{{url.domain}}</div>
</div>
<div class="col action">{{url.actionName}}</div>
<div class="col match_count">{{url.match_count}}</div>
<div class="col last_match_at">{{age-with-tooltip url.last_match_at}}</div>
<div class="col created_at">{{age-with-tooltip url.created_at}}</div>
<div class="clearfix"></div>
</div>
{{/each}}
2013-08-15 22:48:30 +08:00
</div>
{{else}}
{{i18n 'search.no_results'}}
2013-08-15 22:48:30 +08:00
{{/if}}
2015-04-29 05:05:06 +08:00
{{/conditional-loading-spinner}}