mirror of
https://github.com/discourse/discourse.git
synced 2024-12-12 23:33:48 +08:00
c3fd91670e
Re-lands #16119 and #17298 * Update eslint-config-discourse * Update linting workflow * Prettier-ignore stuff * Update template-lint config * Auto-fix template issues * Fix various template issues Mostly incorrect attributes and unused templates * Prettier js files * Fix template auto-fix regressions * Small css tweak Co-authored-by: Peter Wagenet <peter.wagenet@gmail.com>
46 lines
1.3 KiB
Handlebars
46 lines
1.3 KiB
Handlebars
<DModalBody @class="incoming-emails" @title="admin.email.incoming_emails.modal.title">
|
|
<div class="control-group">
|
|
<label>{{i18n "admin.email.incoming_emails.modal.error"}}</label>
|
|
<div class="controls">
|
|
<p>{{this.model.error}}</p>
|
|
{{#if this.model.error_description}}
|
|
<p class="error-description">{{this.model.error_description}}</p>
|
|
{{/if}}
|
|
</div>
|
|
</div>
|
|
|
|
<hr>
|
|
|
|
<div class="control-group">
|
|
<label>{{i18n "admin.email.incoming_emails.modal.headers"}}</label>
|
|
<div class="controls">
|
|
<Textarea @value={{this.model.headers}} wrap="off" />
|
|
</div>
|
|
</div>
|
|
|
|
<div class="control-group">
|
|
<label>{{i18n "admin.email.incoming_emails.modal.subject"}}</label>
|
|
<div class="controls">
|
|
{{this.model.subject}}
|
|
</div>
|
|
</div>
|
|
|
|
<div class="control-group">
|
|
<label>{{i18n "admin.email.incoming_emails.modal.body"}}</label>
|
|
<div class="controls">
|
|
<Textarea @value={{this.model.body}} />
|
|
</div>
|
|
</div>
|
|
|
|
{{#if this.model.rejection_message}}
|
|
<hr>
|
|
|
|
<div class="control-group">
|
|
<label>{{i18n "admin.email.incoming_emails.modal.rejection_message"}}</label>
|
|
<div class="controls">
|
|
<Textarea @value={{this.model.rejection_message}} />
|
|
</div>
|
|
</div>
|
|
{{/if}}
|
|
</DModalBody>
|