2022-06-30 06:30:50 -04:00
|
|
|
<ComboBox @value={{emailTemplate.id}} @content={{adminCustomizeEmailTemplates.sortedTemplates}} @onChange={{adminCustomizeEmailTemplates.onSelectTemplate}} @nameProperty="title" />
|
2020-07-07 05:44:13 -04:00
|
|
|
|
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}}
|
2022-06-30 06:30:50 -04:00
|
|
|
<h3><LinkTo @route="adminSiteText" @query={{hash q=hasMultipleSubjects}}>{{i18n "admin.customize.email_templates.multiple_subjects"}}</LinkTo></h3>
|
2015-11-28 00:46:13 -05:00
|
|
|
{{else}}
|
2022-06-30 06:30:50 -04: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>
|
2022-06-30 06:30:50 -04:00
|
|
|
<DEditor @value={{buffered.body}} />
|
2015-11-12 16:08:19 -05:00
|
|
|
|
2022-06-30 06:30:50 -04:00
|
|
|
<SaveControls @model={{emailTemplate}} @action={{action "saveChanges"}} @saved={{saved}} @saveDisabled={{saveDisabled}}>
|
2015-11-20 12:30:04 -05:00
|
|
|
{{#if emailTemplate.can_revert}}
|
2022-06-30 06:30:50 -04:00
|
|
|
<DButton @action={{action "revertChanges"}} @label="admin.customize.email_templates.revert" />
|
2015-11-20 12:30:04 -05:00
|
|
|
{{/if}}
|
2022-06-30 06:30:50 -04:00
|
|
|
</SaveControls>
|
2015-11-12 16:08:19 -05:00
|
|
|
</div>
|