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

26 lines
706 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>
2018-12-03 06:51:59 -05:00
{{textarea name="email" value=email class="email-body"}}
<button class='btn' {{action "run"}}>{{i18n 'admin.email.advanced_test.run'}}</button>
</div>
{{#conditional-loading-spinner condition=loading}}
{{#if format}}
<hr/>
<div class="text">
<h3>{{i18n 'admin.email.advanced_test.text'}}</h3>
2018-12-04 16:00:38 -05:00
<pre class="full-reason">{{{text}}}</pre>
</div>
<hr/>
<div class="elided">
<h3>{{i18n 'admin.email.advanced_test.elided'}}</h3>
2018-12-04 16:00:38 -05:00
<pre class="full-reason">{{{elided}}}</pre>
</div>
{{/if}}
{{/conditional-loading-spinner}}