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