discourse/app/assets/javascripts/admin/templates/customize-email-templates-edit.hbs
Joffrey JAFFEUX f9648de897
DEV: upgrades from Ember 2.13 to Ember 3.5.1 (#6808)
Co-Authored-By: Bianca Nenciu <nbianca@users.noreply.github.com>
Co-Authored-By: David Taylor <david@taylorhq.com>
2019-01-10 11:06:01 +01:00

19 lines
703 B
Handlebars

<div class='email-template'>
<label>{{i18n "admin.customize.email_templates.subject"}}</label>
{{#if hasMultipleSubjects}}
<h3>{{#link-to 'adminSiteText' (query-params q=hasMultipleSubjects)}}{{i18n "admin.customize.email_templates.multiple_subjects"}}{{/link-to}}</h3>
{{else}}
{{input value=buffered.subject}}
{{/if}}
<br>
<label>{{i18n "admin.customize.email_templates.body"}}</label>
{{d-editor value=buffered.body}}
{{#save-controls model=emailTemplate action=(action "saveChanges") saved=saved}}
{{#if emailTemplate.can_revert}}
{{d-button action=(action "revertChanges") label="admin.customize.email_templates.revert"}}
{{/if}}
{{/save-controls}}
</div>