mirror of
https://github.com/discourse/discourse.git
synced 2024-12-15 21:53:44 +08:00
54 lines
1.4 KiB
Handlebars
54 lines
1.4 KiB
Handlebars
|
<DModal
|
||
|
class="admin-incoming-email-modal"
|
||
|
@title={{i18n "admin.email.incoming_emails.modal.title"}}
|
||
|
@closeModal={{@closeModal}}
|
||
|
@bodyClass="incoming-emails"
|
||
|
>
|
||
|
<:body>
|
||
|
<div class="control-group">
|
||
|
<label>{{i18n "admin.email.incoming_emails.modal.error"}}</label>
|
||
|
<div class="controls">
|
||
|
<p>{{@model.error}}</p>
|
||
|
{{#if @model.error_description}}
|
||
|
<p class="error-description">{{@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={{@model.headers}} wrap="off" />
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<div class="control-group">
|
||
|
<label>{{i18n "admin.email.incoming_emails.modal.subject"}}</label>
|
||
|
<div class="controls">
|
||
|
{{@model.subject}}
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<div class="control-group">
|
||
|
<label>{{i18n "admin.email.incoming_emails.modal.body"}}</label>
|
||
|
<div class="controls">
|
||
|
<Textarea @value={{@model.body}} />
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
{{#if @model.rejection_message}}
|
||
|
<hr />
|
||
|
|
||
|
<div class="control-group">
|
||
|
<label>{{i18n
|
||
|
"admin.email.incoming_emails.modal.rejection_message"
|
||
|
}}</label>
|
||
|
<div class="controls">
|
||
|
<Textarea @value={{@model.rejection_message}} />
|
||
|
</div>
|
||
|
</div>
|
||
|
{{/if}}
|
||
|
</:body>
|
||
|
</DModal>
|