Updated copy for newsletter email verification popup

- updates heading copy dynamically based on verification status
- removes quotes around newsletter name
This commit is contained in:
Rishabh 2022-09-16 13:26:46 +05:30 committed by Rishabh Garg
parent a7b583050c
commit 87cbcc8f14

View File

@ -1,6 +1,12 @@
<div class="modal-content"> <div class="modal-content">
<header class="modal-header" data-test-modal="verify-newsletter-email"> <header class="modal-header" data-test-modal="verify-newsletter-email">
<h1>Verifying newsletter email address</h1> {{#if this.verifyEmailTask.isRunning}}
<h1>Verifying newsletter email address</h1>
{{else if this.newsletter}}
<h1>Email address verified</h1>
{{else if this.error}}
<h1>Email address verification failed</h1>
{{/if}}
</header> </header>
<button type="button" class="close" role="button" title="Close" {{on "click" @close}}>{{svg-jar "close"}}<span class="hidden">Close</span></button> <button type="button" class="close" role="button" title="Close" {{on "click" @close}}>{{svg-jar "close"}}<span class="hidden">Close</span></button>
@ -12,7 +18,7 @@
{{else if this.newsletter}} {{else if this.newsletter}}
<p> <p>
Success! From address for newsletter Success! From address for newsletter
"<LinkTo @route="settings.newsletters.edit-newsletter" @model={{this.newsletter.id}}>{{this.newsletter.name}}</LinkTo>" <LinkTo @route="settings.newsletters.edit-newsletter" @model={{this.newsletter.id}}>{{this.newsletter.name}}</LinkTo>
changed to <strong>{{this.newsletter.senderEmail}}</strong> changed to <strong>{{this.newsletter.senderEmail}}</strong>
</p> </p>
{{else if this.error}} {{else if this.error}}