2020-04-14 02:18:49 -04:00
|
|
|
<div class="email-template">
|
2015-11-28 00:46:13 -05:00
|
|
|
<label>{{i18n "admin.customize.email_templates.subject"}}</label>
|
|
|
|
{{#if hasMultipleSubjects}}
|
2020-04-14 02:18:49 -04:00
|
|
|
<h3>{{#link-to "adminSiteText" (query-params q=hasMultipleSubjects)}}{{i18n "admin.customize.email_templates.multiple_subjects"}}{{/link-to}}</h3>
|
2015-11-28 00:46:13 -05:00
|
|
|
{{else}}
|
2015-11-12 16:08:19 -05:00
|
|
|
{{input value=buffered.subject}}
|
2015-11-28 00:46:13 -05:00
|
|
|
{{/if}}
|
|
|
|
<br>
|
2015-11-12 16:08:19 -05:00
|
|
|
|
2015-11-27 14:14:34 -05:00
|
|
|
<label>{{i18n "admin.customize.email_templates.body"}}</label>
|
|
|
|
{{d-editor value=buffered.body}}
|
2015-11-12 16:08:19 -05:00
|
|
|
|
2019-07-01 21:53:16 -04:00
|
|
|
{{#save-controls model=emailTemplate action=(action "saveChanges") saved=saved saveDisabled=saveDisabled}}
|
2015-11-20 12:30:04 -05:00
|
|
|
{{#if emailTemplate.can_revert}}
|
2019-01-10 05:06:01 -05:00
|
|
|
{{d-button action=(action "revertChanges") label="admin.customize.email_templates.revert"}}
|
2015-11-20 12:30:04 -05:00
|
|
|
{{/if}}
|
|
|
|
{{/save-controls}}
|
2015-11-12 16:08:19 -05:00
|
|
|
</div>
|