mirror of
https://github.com/discourse/discourse.git
synced 2024-12-15 13:53:48 +08:00
46 lines
1.2 KiB
Handlebars
46 lines
1.2 KiB
Handlebars
{{#d-modal-body 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>{{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}}
|
|
{{/d-modal-body}}
|