discourse/app/assets/javascripts/admin/templates/customize-email-templates-edit.hbs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

19 lines
729 B
Handlebars
Raw Normal View History

<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}}
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}}
{{d-button action=(action "revertChanges") label="admin.customize.email_templates.revert"}}
2015-11-21 01:30:04 +08:00
{{/if}}
{{/save-controls}}
</div>