mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 09:42:07 +08:00
24e71acf3f
See PR for details
40 lines
1004 B
Handlebars
40 lines
1004 B
Handlebars
<table class="table">
|
|
<tbody>
|
|
<tr>
|
|
<th>{{i18n "admin.email.delivery_method"}}</th>
|
|
<td>{{delivery_method}}</td>
|
|
</tr>
|
|
|
|
{{#each model.settings as |s|}}
|
|
<tr>
|
|
<th style="width: 25%">{{s.name}}</th>
|
|
<td>{{s.value}}</td>
|
|
</tr>
|
|
{{/each}}
|
|
</tbody>
|
|
</table>
|
|
|
|
<form>
|
|
<div class="admin-controls">
|
|
<div class="controls">
|
|
<div class="inline-form">
|
|
{{#if sendingEmail}}
|
|
{{i18n "admin.email.sending_test"}}
|
|
{{else}}
|
|
{{text-field value=testEmailAddress placeholderKey="admin.email.test_email_address"}}
|
|
{{d-button
|
|
class="btn-primary"
|
|
action=(action "sendTestEmail")
|
|
disabled=sendTestEmailDisabled
|
|
label="admin.email.send_test"
|
|
type="submit"
|
|
}}
|
|
{{#if sentTestEmailMessage}}
|
|
<span class="result-message">{{sentTestEmailMessage}}</span>
|
|
{{/if}}
|
|
{{/if}}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</form>
|