discourse/app/assets/javascripts/admin/templates/email-index.hbs
Jarek Radosz d43e7354ec
DEV: Convert <button> tags to {{d-button}} components (#8224)
* DEV: Convert <button> tags to {{d-button}}

* Fixes
2019-11-04 11:23:54 +01:00

32 lines
835 B
Handlebars

<table class="table">
<tr>
<th>{{i18n 'admin.email.delivery_method'}}</th>
<td>{{delivery_method}}</td>
</tr>
{{#each model.settings as |s|}}
<tr>
<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}}
<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"}}
{{#if sentTestEmailMessage}}<span class='result-message'>{{sentTestEmailMessage}}</span>{{/if}}
</div>
{{/if}}
</div>