2013-02-05 14:16:51 -05:00
|
|
|
<div class='admin-controls'>
|
|
|
|
<div class='span5 controls'>
|
2013-05-20 12:47:59 -04:00
|
|
|
{{textField value=testEmailAddress placeholderKey="admin.email_logs.test_email_address"}}
|
2013-02-05 14:16:51 -05:00
|
|
|
</div>
|
|
|
|
<div class='span10 controls'>
|
2013-05-20 12:47:59 -04:00
|
|
|
<button class='btn' {{action sendTestEmail}} {{bindAttr disabled="sendTestEmailDisabled"}}>{{i18n admin.email_logs.send_test}}</button>
|
2013-05-20 13:42:26 -04:00
|
|
|
{{#if sentTestEmail}}<span class='result-message'>{{i18n admin.email_logs.sent_test}}</span>{{/if}}
|
2013-02-05 14:16:51 -05:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2013-03-19 15:41:11 -04:00
|
|
|
<table class='table'>
|
2013-02-05 14:16:51 -05:00
|
|
|
<tr>
|
|
|
|
<th>{{i18n admin.email_logs.sent_at}}</th>
|
|
|
|
<th>{{i18n user.title}}</th>
|
|
|
|
<th>{{i18n admin.email_logs.to_address}}</th>
|
|
|
|
<th>{{i18n admin.email_logs.email_type}}</th>
|
|
|
|
</tr>
|
|
|
|
|
2013-05-20 12:47:59 -04:00
|
|
|
{{#if model.length}}
|
2013-02-05 14:16:51 -05:00
|
|
|
{{#group}}
|
2013-05-20 12:47:59 -04:00
|
|
|
{{#collection contentBinding="model" tagName="tbody" itemTagName="tr"}}
|
2013-05-20 15:27:58 -04:00
|
|
|
<td>{{date created_at}}</td>
|
2013-02-05 14:16:51 -05:00
|
|
|
<td>
|
2013-05-20 15:27:58 -04:00
|
|
|
{{#if user}}
|
|
|
|
{{#linkTo 'adminUser' user}}{{avatar user imageSize="tiny"}}{{/linkTo}}
|
|
|
|
{{#linkTo 'adminUser' user}}{{user.username}}{{/linkTo}}
|
2013-02-05 14:16:51 -05:00
|
|
|
{{else}}
|
|
|
|
—
|
|
|
|
{{/if}}
|
2013-03-19 15:41:11 -04:00
|
|
|
</td>
|
2013-05-20 15:27:58 -04:00
|
|
|
<td><a href='mailto:{{unbound to_address}}'>{{to_address}}</a></td>
|
|
|
|
<td>{{email_type}}</td>
|
2013-02-05 14:16:51 -05:00
|
|
|
{{/collection}}
|
|
|
|
{{/group}}
|
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
</table>
|