mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-19 12:02:27 -05:00
622d804d46
FIX: Better RateLimit description in rejected IncomingEmail FEATURE: Send email when hitting a rate limit
110 lines
2.4 KiB
Handlebars
110 lines
2.4 KiB
Handlebars
<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>
|
|
|
|
{{#if model.return_path}}
|
|
<div class="control-group">
|
|
<label>{{i18n "admin.email.incoming_emails.modal.return_path"}}</label>
|
|
<div class="controls">
|
|
{{model.return_path}}
|
|
</div>
|
|
</div>
|
|
{{/if}}
|
|
|
|
<div class="control-group">
|
|
<label>{{i18n "admin.email.incoming_emails.modal.message_id"}}</label>
|
|
<div class="controls">
|
|
{{model.message_id}}
|
|
</div>
|
|
</div>
|
|
|
|
{{#if model.references}}
|
|
<div class="control-group">
|
|
<label>{{i18n "admin.email.incoming_emails.modal.references"}}</label>
|
|
<div class="controls">
|
|
<ul>
|
|
{{#each reference in model.references}}
|
|
<li>{{reference}}</li>
|
|
{{/each}}
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
{{/if}}
|
|
|
|
{{#if model.in_reply_to}}
|
|
<div class="control-group">
|
|
<label>{{i18n "admin.email.incoming_emails.modal.in_reply_to"}}</label>
|
|
<div class="controls">
|
|
{{model.in_reply_to}}
|
|
</div>
|
|
</div>
|
|
{{/if}}
|
|
|
|
<div class="control-group">
|
|
<label>{{i18n "admin.email.incoming_emails.modal.date"}}</label>
|
|
<div class="controls">
|
|
{{date}}
|
|
</div>
|
|
</div>
|
|
|
|
<div class="control-group">
|
|
<label>{{i18n "admin.email.incoming_emails.modal.from"}}</label>
|
|
<div class="controls">
|
|
{{model.from}}
|
|
</div>
|
|
</div>
|
|
|
|
<div class="control-group">
|
|
<label>{{i18n "admin.email.incoming_emails.modal.to"}}</label>
|
|
<div class="controls">
|
|
<ul>
|
|
{{#each to in model.to}}
|
|
<li>{{to}}</li>
|
|
{{/each}}
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
|
|
{{#if model.cc}}
|
|
<div class="control-group">
|
|
<label>{{i18n "admin.email.incoming_emails.modal.cc"}}</label>
|
|
<div class="controls">
|
|
{{model.cc}}
|
|
</div>
|
|
</div>
|
|
{{/if}}
|
|
|
|
<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}}
|