discourse/app/assets/javascripts/admin/addon/templates/email-advanced-test.hbs

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

23 lines
732 B
Handlebars
Raw Normal View History

<p>{{i18n "admin.email.advanced_test.desc"}}</p>
<div class="email-advanced-test">
<label for="email">{{i18n "admin.email.advanced_test.email"}}</label>
<Textarea @name="email" @value={{email}} class="email-body" />
<DButton @action={{action "run"}} @label="admin.email.advanced_test.run" />
</div>
<ConditionalLoadingSpinner @condition={{loading}}>
{{#if format}}
<hr>
<div class="text">
<h3>{{i18n "admin.email.advanced_test.text"}}</h3>
<pre class="full-reason">{{html-safe text}}</pre>
</div>
<hr>
<div class="elided">
<h3>{{i18n "admin.email.advanced_test.elided"}}</h3>
<pre class="full-reason">{{html-safe elided}}</pre>
</div>
{{/if}}
</ConditionalLoadingSpinner>