discourse/app/assets/javascripts/admin/templates/logs/blocked_emails.js.handlebars

29 lines
1013 B
Handlebars
Raw Normal View History

2013-08-01 21:30:13 -04:00
{{#if loading}}
<div class='admin-loading'>{{i18n loading}}</div>
{{else}}
{{#if model.length}}
<table class='table blocked-emails'>
<thead>
<th class="email">{{i18n admin.logs.blocked_emails.email}}</th>
2013-08-01 21:30:13 -04:00
<th class="action">{{i18n admin.logs.action}}</th>
<th class="match_count">{{i18n admin.logs.blocked_emails.match_count}}</th>
<th class="last_match_at">{{i18n admin.logs.blocked_emails.last_match_at}}</th>
2013-08-01 21:30:13 -04:00
<th class="created_at">{{i18n admin.logs.created_at}}</th>
</thead>
<tbody>
{{#each model}}
<tr>
<td class="email">{{email}}</td>
<td class="action">{{actionName}}</td>
<td class="match_count">{{match_count}}</td>
<td class="last_match_at">{{unboundAgeWithTooltip last_match_at}}</td>
<td class="created_at">{{unboundAgeWithTooltip created_at}}</td>
</tr>
{{/each}}
</tbody>
</table>
{{else}}
No results.
{{/if}}
{{/if}}