discourse/app/assets/javascripts/admin/templates/logs/blocked_emails.js.handlebars
2013-08-07 16:27:34 -04:00

29 lines
No EOL
1,013 B
Handlebars

{{#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>
<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>
<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}}