mailtrain/views/lists/subscription/import-failed.hbs
2017-03-08 09:47:11 +05:30

48 lines
1.8 KiB
Handlebars

<ol class="breadcrumb">
<li><a href="/">{{#translate}}Home{{/translate}}</a></li>
<li><a href="/lists/">{{#translate}}Lists{{/translate}}</a></li>
<li><a href="/lists/view/{{list.id}}">{{list.name}}</a></li>
<li class="active">{{#translate}}Import status{{/translate}}</li>
</ol>
<h2>{{list.name}} <small>{{#translate}}Failed addresses{{/translate}}</small> <a class="btn btn-default btn-xs" href="/lists/view/{{list.id}}" role="button"><span class="glyphicon glyphicon-arrow-left" aria-hidden="true"></span> {{#translate}}Back to list{{/translate}}</a></h2>
<hr>
<div class="well">
{{#translate}}Role-based addresses like postmaster@example.com are blocked when importing. Subscribers with role-based email addresses can join your list using the subscription form{{/translate}} (<a href="/subscription/{{list.cid}}">{{#translate}}see here{{/translate}}</a>).
</div>
<div class="table-responsive">
<table class="table table-bordered table-hover display nowrap" width="100%">
<thead>
<th class="col-md-1">
#
</th>
<th>
{{#translate}}Address{{/translate}}
</th>
<th>
{{#translate}}Fail reason{{/translate}}
</th>
</thead>
{{#if rows}}
<tbody>
{{#each rows}}
<tr>
<th scope="row">
{{index}}
</th>
<td>
<a href="mailto:{{email}}">{{email}}</a>
</a>
</td>
<td>
<span class="text-danger">{{reason}}</span>
</td>
</tr>
{{/each}}
</tbody>
{{/if}}
</table>
</div>