2020-07-07 05:44:13 -04:00
|
|
|
{{combo-box
|
|
|
|
value=emailTemplate.id
|
|
|
|
content=adminCustomizeEmailTemplates.sortedTemplates
|
|
|
|
onChange=adminCustomizeEmailTemplates.onSelectTemplate
|
|
|
|
nameProperty="title"
|
|
|
|
}}
|
|
|
|
|
2015-11-12 16:08:19 -05:00
|
|
|
<div class="email-template">
|
2015-11-28 00:46:13 -05:00
|
|
|
<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}}
|
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>
|