mirror of
https://github.com/discourse/discourse.git
synced 2025-02-17 01:02:47 +08:00
UX: Allow enter key to submit test email in admin panel
This commit is contained in:
parent
97dad94bfd
commit
6f9afde9a8
|
@ -12,6 +12,7 @@
|
|||
{{/each}}
|
||||
</table>
|
||||
|
||||
<form>
|
||||
<div class='admin-controls'>
|
||||
{{#if sendingEmail}}
|
||||
<div class='span15 controls'>{{i18n 'admin.email.sending_test'}}</div>
|
||||
|
@ -24,8 +25,10 @@
|
|||
class="btn-primary"
|
||||
action=(action "sendTestEmail")
|
||||
disabled=sendTestEmailDisabled
|
||||
label="admin.email.send_test"}}
|
||||
label="admin.email.send_test"
|
||||
type="submit"}}
|
||||
{{#if sentTestEmailMessage}}<span class='result-message'>{{sentTestEmailMessage}}</span>{{/if}}
|
||||
</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
</form>
|
||||
|
|
Loading…
Reference in New Issue
Block a user