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