2014-12-06 23:15:22 -05:00
|
|
|
<p>
|
|
|
|
{{i18n "admin.logs.screened_emails.description"}}
|
|
|
|
</p>
|
2019-11-04 05:23:54 -05:00
|
|
|
|
2022-06-30 06:30:50 -04:00
|
|
|
<DButton
|
|
|
|
@class="btn-default screened-email-export"
|
|
|
|
@action={{action "exportScreenedEmailList"}}
|
|
|
|
@title="admin.export_csv.button_title.screened_email"
|
|
|
|
@icon="download"
|
|
|
|
@label="admin.export_csv.button_text"
|
|
|
|
/>
|
2018-07-13 01:43:40 -04:00
|
|
|
|
2015-04-03 06:40:17 -04:00
|
|
|
<br />
|
2013-08-09 10:06:02 -04:00
|
|
|
|
2022-07-05 13:41:31 -04:00
|
|
|
<ConditionalLoadingSpinner @condition={{this.loading}}>
|
|
|
|
{{#if this.model.length}}
|
2013-08-01 21:30:13 -04:00
|
|
|
|
2018-07-13 01:43:40 -04:00
|
|
|
<table class="screened-emails grid">
|
|
|
|
<thead>
|
|
|
|
<th class="first email">{{i18n "admin.logs.screened_emails.email"}}</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>
|
|
|
|
<th class="ip_address">{{i18n "admin.logs.ip_address"}}</th>
|
|
|
|
<th class="action"></th>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
2022-07-05 13:41:31 -04:00
|
|
|
{{#each this.model as |item|}}
|
2018-07-13 01:43:40 -04:00
|
|
|
<tr class="admin-list-item">
|
|
|
|
<td class="col first email">
|
2016-11-24 12:58:06 -05:00
|
|
|
<div
|
|
|
|
class="overflow-ellipsis"
|
|
|
|
title={{item.email}}
|
|
|
|
>{{item.email}}</div>
|
2018-07-13 01:43:40 -04:00
|
|
|
</td>
|
|
|
|
<td class="action">{{item.actionName}}</td>
|
|
|
|
<td class="match_count"><div class="label">{{i18n
|
|
|
|
"admin.logs.match_count"
|
|
|
|
}}</div>{{item.match_count}}</td>
|
|
|
|
<td class="last_match_at"><div class="label">{{i18n
|
|
|
|
"admin.logs.last_match_at"
|
|
|
|
}}</div>{{age-with-tooltip item.last_match_at}}</td>
|
|
|
|
<td class="created_at"><div class="label">{{i18n
|
|
|
|
"admin.logs.created_at"
|
|
|
|
}}</div>{{age-with-tooltip item.created_at}}</td>
|
|
|
|
<td class="ip_address">{{item.ip_address}}</td>
|
|
|
|
<td class="action">
|
2022-06-30 06:30:50 -04:00
|
|
|
<DButton
|
|
|
|
@action={{action "clearBlock"}}
|
|
|
|
@actionParam={{item}}
|
|
|
|
@icon="check"
|
|
|
|
@label="admin.logs.screened_emails.actions.allow"
|
|
|
|
/>
|
2018-07-13 01:43:40 -04:00
|
|
|
</td>
|
|
|
|
</tr>
|
2016-11-24 12:58:06 -05:00
|
|
|
{{/each}}
|
2018-07-13 01:43:40 -04:00
|
|
|
</tbody>
|
|
|
|
</table>
|
2013-08-08 17:16:07 -04:00
|
|
|
|
2013-08-01 21:30:13 -04:00
|
|
|
{{else}}
|
2014-12-08 16:35:49 -05:00
|
|
|
{{i18n "search.no_results"}}
|
2013-08-01 21:30:13 -04:00
|
|
|
{{/if}}
|
2022-06-30 06:30:50 -04:00
|
|
|
</ConditionalLoadingSpinner>
|