mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-29 18:46:23 -05:00
18 lines
685 B
Handlebars
18 lines
685 B
Handlebars
<div class='email-template'>
|
|
<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}}
|
|
{{input value=buffered.subject}}
|
|
{{/if}}
|
|
<br>
|
|
|
|
<label>{{i18n "admin.customize.email_templates.body"}}</label>
|
|
{{d-editor value=buffered.body}}
|
|
|
|
{{#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}}
|
|
</div>
|