mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 09:42:07 +08:00
28 lines
819 B
Handlebars
28 lines
819 B
Handlebars
<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'>
|
|
{{#if sendingEmail}}
|
|
<div class='span15 controls'>{{i18n admin.email.sending_test}}</div>
|
|
{{else}}
|
|
<div class='span5 controls'>
|
|
{{textField value=testEmailAddress placeholderKey="admin.email.test_email_address"}}
|
|
</div>
|
|
<div class='span10 controls'>
|
|
<button class='btn' {{action sendTestEmail}} {{bind-attr disabled="sendTestEmailDisabled"}}>{{i18n admin.email.send_test}}</button>
|
|
{{#if sentTestEmail}}<span class='result-message'>{{i18n admin.email.sent_test}}</span>{{/if}}
|
|
</div>
|
|
{{/if}}
|
|
</div>
|