2013-06-04 04:12:24 +08:00
|
|
|
<table class="table">
|
|
|
|
<tr>
|
2014-12-09 05:35:49 +08:00
|
|
|
<th>{{i18n 'admin.email.delivery_method'}}</th>
|
2014-12-13 02:28:20 +08:00
|
|
|
<td>{{delivery_method}}</td>
|
2013-06-04 04:12:24 +08:00
|
|
|
</tr>
|
|
|
|
|
2016-04-30 05:29:41 +08:00
|
|
|
{{#each model.settings as |s|}}
|
2013-06-04 04:12:24 +08:00
|
|
|
<tr>
|
2014-12-13 02:28:20 +08:00
|
|
|
<th style='width: 25%'>{{s.name}}</th>
|
|
|
|
<td>{{s.value}}</td>
|
2013-06-04 04:12:24 +08:00
|
|
|
</tr>
|
|
|
|
{{/each}}
|
|
|
|
</table>
|
|
|
|
|
|
|
|
<div class='admin-controls'>
|
2014-03-19 03:25:16 +08:00
|
|
|
{{#if sendingEmail}}
|
2014-12-09 05:35:49 +08:00
|
|
|
<div class='span15 controls'>{{i18n 'admin.email.sending_test'}}</div>
|
2014-03-19 03:25:16 +08:00
|
|
|
{{else}}
|
2014-06-05 17:57:56 +08:00
|
|
|
<div class='controls'>
|
2014-06-10 23:54:38 +08:00
|
|
|
{{text-field value=testEmailAddress placeholderKey="admin.email.test_email_address"}}
|
2013-06-04 04:12:24 +08:00
|
|
|
</div>
|
|
|
|
<div class='span10 controls'>
|
2016-05-07 04:04:38 +08:00
|
|
|
<button class='btn btn-primary' {{action "sendTestEmail"}} disabled={{sendTestEmailDisabled}}>{{i18n 'admin.email.send_test'}}</button>
|
2014-12-09 05:35:49 +08:00
|
|
|
{{#if sentTestEmail}}<span class='result-message'>{{i18n 'admin.email.sent_test'}}</span>{{/if}}
|
2013-06-04 04:12:24 +08:00
|
|
|
</div>
|
2014-03-19 03:25:16 +08:00
|
|
|
{{/if}}
|
2013-06-04 04:12:24 +08:00
|
|
|
</div>
|