2013-06-04 04:12:24 +08:00
|
|
|
<table class="table">
|
|
|
|
<tr>
|
|
|
|
<th>{{i18n admin.email.delivery_method}}</th>
|
|
|
|
<td>{{model.delivery_method}}</td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
{{#each model.settings}}
|
|
|
|
<tr>
|
|
|
|
<th style='width: 25%'>{{name}}</th>
|
|
|
|
<td>{{value}}</td>
|
|
|
|
</tr>
|
|
|
|
{{/each}}
|
|
|
|
</table>
|
|
|
|
|
|
|
|
<div class='admin-controls'>
|
2014-03-19 03:25:16 +08:00
|
|
|
{{#if sendingEmail}}
|
|
|
|
<div class='span15 controls'>{{i18n admin.email.sending_test}}</div>
|
|
|
|
{{else}}
|
2014-06-05 17:57:56 +08:00
|
|
|
<div class='controls'>
|
2013-06-04 04:12:24 +08:00
|
|
|
{{textField value=testEmailAddress placeholderKey="admin.email.test_email_address"}}
|
|
|
|
</div>
|
|
|
|
<div class='span10 controls'>
|
2014-01-15 01:48:57 +08:00
|
|
|
<button class='btn' {{action sendTestEmail}} {{bind-attr disabled="sendTestEmailDisabled"}}>{{i18n admin.email.send_test}}</button>
|
2013-06-04 04:12:24 +08:00
|
|
|
{{#if sentTestEmail}}<span class='result-message'>{{i18n admin.email.sent_test}}</span>{{/if}}
|
|
|
|
</div>
|
2014-03-19 03:25:16 +08:00
|
|
|
{{/if}}
|
2013-06-04 04:12:24 +08:00
|
|
|
</div>
|