mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-24 23:48:13 -05:00
Refined styles for test email
This commit is contained in:
parent
61972b01ce
commit
6dbcf96ab0
1 changed files with 7 additions and 3 deletions
|
@ -349,6 +349,7 @@
|
|||
</button>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
{{gh-text-input
|
||||
class="post-setting-email-test"
|
||||
id="email-test"
|
||||
|
@ -358,14 +359,17 @@
|
|||
input=(action (mut emailTestScratch) value="target.value")
|
||||
stopEnterKeyDownPropagation=true
|
||||
data-test-field="email-test"}}
|
||||
{{unless isValidTestEmail "Please enter a valid email"}}
|
||||
{{gh-task-button "Send Test Email"
|
||||
{{#unless isValidTestEmail}}
|
||||
<div class="error"><p class="response">Please enter a valid email</p></div>
|
||||
{{/unless}}
|
||||
{{gh-task-button "Send test email"
|
||||
task=sendTestEmail
|
||||
successText="Sent"
|
||||
successText="Email sent"
|
||||
runningText="Sending..."
|
||||
class="gh-btn w-100 mt2 gh-btn-icon"
|
||||
data-test-send-test-mail=true
|
||||
}}
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Reference in a new issue