2014-12-07 12:15:22 +08:00
|
|
|
<p>
|
|
|
|
{{i18n 'admin.logs.screened_emails.description'}}
|
2017-07-27 04:25:09 +08:00
|
|
|
<button class="btn pull-right" {{action "exportScreenedEmailList"}} title="{{i18n 'admin.export_csv.button_title.screened_email'}}">{{d-icon "download"}}{{i18n 'admin.export_csv.button_text'}}</button>
|
2014-12-07 12:15:22 +08:00
|
|
|
</p>
|
2015-04-03 18:40:17 +08:00
|
|
|
<br>
|
2013-08-09 22:06:02 +08:00
|
|
|
|
2015-04-29 05:05:06 +08:00
|
|
|
{{#conditional-loading-spinner condition=loading}}
|
2013-08-02 09:30:13 +08:00
|
|
|
{{#if model.length}}
|
|
|
|
|
2013-08-15 22:48:30 +08:00
|
|
|
<div class='table screened-emails'>
|
2013-08-09 05:16:07 +08:00
|
|
|
<div class="heading-container">
|
2014-12-09 05:35:49 +08:00
|
|
|
<div class="col heading first email">{{i18n 'admin.logs.screened_emails.email'}}</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>
|
|
|
|
<div class="col heading ip_address">{{i18n 'admin.logs.ip_address'}}</div>
|
2014-06-02 14:52:43 +08:00
|
|
|
<div class="col heading action"></div>
|
2013-08-09 05:16:07 +08:00
|
|
|
<div class="clearfix"></div>
|
|
|
|
</div>
|
|
|
|
|
2016-11-25 01:58:06 +08:00
|
|
|
{{#each model as |item|}}
|
|
|
|
<div class="admin-list-item">
|
|
|
|
<div class="col first email">
|
|
|
|
<div class="overflow-ellipsis" title={{item.email}}>{{item.email}}</div>
|
|
|
|
</div>
|
|
|
|
<div class="col action">{{item.actionName}}</div>
|
|
|
|
<div class="col match_count">{{item.match_count}}</div>
|
|
|
|
<div class="col last_match_at">{{age-with-tooltip item.last_match_at}}</div>
|
|
|
|
<div class="col created_at">{{age-with-tooltip item.created_at}}</div>
|
|
|
|
<div class="col ip_address">{{item.ip_address}}</div>
|
|
|
|
<div class="col action">
|
|
|
|
{{d-button action="clearBlock" actionParam=item icon="check" label="admin.logs.screened_emails.actions.allow"}}
|
|
|
|
</div>
|
|
|
|
<div class="clearfix"></div>
|
|
|
|
</div>
|
|
|
|
{{/each}}
|
2013-08-09 05:16:07 +08:00
|
|
|
</div>
|
|
|
|
|
2013-08-02 09:30:13 +08:00
|
|
|
{{else}}
|
2014-12-09 05:35:49 +08:00
|
|
|
{{i18n 'search.no_results'}}
|
2013-08-02 09:30:13 +08:00
|
|
|
{{/if}}
|
2015-04-29 05:05:06 +08:00
|
|
|
{{/conditional-loading-spinner}}
|