2013-06-04 04:12:24 +08:00
|
|
|
<table class="table">
|
2020-02-10 15:14:26 +08:00
|
|
|
<tbody>
|
2013-06-04 04:12:24 +08:00
|
|
|
<tr>
|
2020-02-10 15:14:26 +08:00
|
|
|
<th>{{i18n "admin.email.delivery_method"}}</th>
|
|
|
|
<td>{{delivery_method}}</td>
|
2013-06-04 04:12:24 +08:00
|
|
|
</tr>
|
2020-02-10 15:14:26 +08:00
|
|
|
|
|
|
|
{{#each model.settings as |s|}}
|
|
|
|
<tr>
|
|
|
|
<th style="width: 25%">{{s.name}}</th>
|
|
|
|
<td>{{s.value}}</td>
|
|
|
|
</tr>
|
|
|
|
{{/each}}
|
|
|
|
</tbody>
|
2013-06-04 04:12:24 +08:00
|
|
|
</table>
|
|
|
|
|
2019-11-18 23:36:06 +08:00
|
|
|
<form>
|
|
|
|
<div class="admin-controls">
|
|
|
|
{{#if sendingEmail}}
|
2020-03-11 22:31:29 +08:00
|
|
|
<div class="controls">{{i18n "admin.email.sending_test"}}</div>
|
2019-11-18 23:36:06 +08:00
|
|
|
{{else}}
|
|
|
|
<div class="controls">
|
|
|
|
{{text-field value=testEmailAddress placeholderKey="admin.email.test_email_address"}}
|
|
|
|
</div>
|
|
|
|
<div class="controls">
|
|
|
|
{{d-button
|
|
|
|
class="btn-primary"
|
|
|
|
action=(action "sendTestEmail")
|
|
|
|
disabled=sendTestEmailDisabled
|
|
|
|
label="admin.email.send_test"
|
|
|
|
type="submit"}}
|
|
|
|
{{#if sentTestEmailMessage}}<span class="result-message">{{sentTestEmailMessage}}</span>{{/if}}
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
2013-06-04 04:12:24 +08:00
|
|
|
</div>
|
2019-11-18 23:36:06 +08:00
|
|
|
</form>
|