discourse/app/assets/javascripts/admin/templates/email-index.hbs

28 lines
821 B
Handlebars
Raw Normal View History

<table class="table">
<tr>
<th>{{i18n 'admin.email.delivery_method'}}</th>
2014-12-12 13:28:20 -05:00
<td>{{delivery_method}}</td>
</tr>
{{#each model.settings as |s|}}
<tr>
2014-12-12 13:28:20 -05:00
<th style='width: 25%'>{{s.name}}</th>
<td>{{s.value}}</td>
</tr>
{{/each}}
</table>
<div class='admin-controls'>
{{#if sendingEmail}}
<div class='span15 controls'>{{i18n 'admin.email.sending_test'}}</div>
{{else}}
2014-06-05 05:57:56 -04:00
<div class='controls'>
{{text-field value=testEmailAddress placeholderKey="admin.email.test_email_address"}}
</div>
2018-02-14 12:26:05 -05:00
<div class='controls'>
<button class='btn btn-primary' {{action "sendTestEmail"}} disabled={{sendTestEmailDisabled}}>{{i18n 'admin.email.send_test'}}</button>
{{#if sentTestEmailMessage}}<span class='result-message'>{{sentTestEmailMessage}}</span>{{/if}}
</div>
{{/if}}
</div>