mirror of
https://github.com/discourse/discourse.git
synced 2024-12-05 12:13:40 +08:00
22 lines
759 B
Handlebars
22 lines
759 B
Handlebars
<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={{this.email}} class="email-body" />
|
|
<DButton @action={{action "run"}} @label="admin.email.advanced_test.run" />
|
|
</div>
|
|
|
|
<ConditionalLoadingSpinner @condition={{this.loading}}>
|
|
{{#if this.format}}
|
|
<hr />
|
|
<div class="text">
|
|
<h3>{{i18n "admin.email.advanced_test.text"}}</h3>
|
|
<pre class="full-reason">{{html-safe this.text}}</pre>
|
|
</div>
|
|
<hr />
|
|
<div class="elided">
|
|
<h3>{{i18n "admin.email.advanced_test.elided"}}</h3>
|
|
<pre class="full-reason">{{html-safe this.elided}}</pre>
|
|
</div>
|
|
{{/if}}
|
|
</ConditionalLoadingSpinner> |