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>
|
2022-07-06 01:41:31 +08:00
|
|
|
<td>{{this.delivery_method}}</td>
|
2013-06-04 04:12:24 +08:00
|
|
|
</tr>
|
2020-02-10 15:14:26 +08:00
|
|
|
|
2022-07-06 01:41:31 +08:00
|
|
|
{{#each this.model.settings as |s|}}
|
2020-02-10 15:14:26 +08:00
|
|
|
<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">
|
2021-09-09 23:01:56 +08:00
|
|
|
<div class="controls">
|
|
|
|
<div class="inline-form">
|
2022-07-06 01:41:31 +08:00
|
|
|
{{#if this.sendingEmail}}
|
2021-09-09 23:01:56 +08:00
|
|
|
{{i18n "admin.email.sending_test"}}
|
|
|
|
{{else}}
|
2022-07-06 01:41:31 +08:00
|
|
|
<TextField
|
|
|
|
@value={{this.testEmailAddress}}
|
|
|
|
@placeholderKey="admin.email.test_email_address"
|
|
|
|
/>
|
|
|
|
<DButton
|
|
|
|
@class="btn-primary"
|
|
|
|
@action={{action "sendTestEmail"}}
|
|
|
|
@disabled={{this.sendTestEmailDisabled}}
|
|
|
|
@label="admin.email.send_test"
|
|
|
|
@type="submit"
|
|
|
|
/>
|
|
|
|
{{#if this.sentTestEmailMessage}}
|
|
|
|
<span class="result-message">{{this.sentTestEmailMessage}}</span>
|
2021-09-09 23:01:56 +08:00
|
|
|
{{/if}}
|
|
|
|
{{/if}}
|
2019-11-18 23:36:06 +08:00
|
|
|
</div>
|
2021-09-09 23:01:56 +08:00
|
|
|
</div>
|
2013-06-04 04:12:24 +08:00
|
|
|
</div>
|
2019-11-18 23:36:06 +08:00
|
|
|
</form>
|