2015-11-13 05:08:19 +08:00
|
|
|
<div class='email-template'>
|
2015-11-28 13:46:13 +08: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-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
|
|
|
|
2015-11-21 01:30:04 +08:00
|
|
|
{{#save-controls model=emailTemplate action="saveChanges" saved=saved}}
|
|
|
|
{{#if emailTemplate.can_revert}}
|
|
|
|
{{d-button action="revertChanges" label="admin.customize.email_templates.revert"}}
|
|
|
|
{{/if}}
|
|
|
|
{{/save-controls}}
|
2015-11-13 05:08:19 +08:00
|
|
|
</div>
|