-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
423 changed files
with
8,356 additions
and
6,616 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
.modal-title { | ||
margin: 0; | ||
line-height: $tall-line-height; | ||
} |
67 changes: 33 additions & 34 deletions
67
app/application/-components/verify-email-modal/template.hbs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,33 @@ | ||
{{#if (and this.shouldShowModal this.userEmail)}} | ||
<BsModal | ||
@backdropClose={{false}} | ||
as |modal| | ||
> | ||
<modal.header @closeButton={{false}}> | ||
<h3 class='modal-title'>{{t this.translationKeys.header}}</h3> | ||
</modal.header> | ||
<modal.body> | ||
<p data-test-verify-email-prompt> | ||
{{t this.translationKeys.body email=this.userEmail.emailAddress htmlSafe=true}} | ||
</p> | ||
</modal.body> | ||
<modal.footer data-analytics-scope='Verify email modal'> | ||
<BsButton | ||
data-test-deny-email | ||
data-analytics-name='Deny' | ||
disabled={{this.disableButtons}} | ||
@onClick={{action this.deny}} | ||
> | ||
{{t this.translationKeys.denyButton}} | ||
</BsButton> | ||
<BsButton | ||
data-test-verify-email | ||
data-analytics-name='Verify' | ||
disabled={{this.disableButtons}} | ||
@type='primary' | ||
@onClick={{action this.verify}} | ||
> | ||
{{t this.translationKeys.verifyButton}} | ||
</BsButton> | ||
</modal.footer> | ||
</BsModal> | ||
{{/if}} | ||
<OsfDialog | ||
@closeOnOutsideClick={{false}} | ||
@isOpen={{and this.shouldShowModal this.userEmail}} | ||
as |dialog| | ||
> | ||
<dialog.heading> | ||
<h3 local-class='modal-title'>{{t this.translationKeys.header}}</h3> | ||
</dialog.heading> | ||
<dialog.main> | ||
<p data-test-verify-email-prompt> | ||
{{t this.translationKeys.body email=this.userEmail.emailAddress htmlSafe=true}} | ||
</p> | ||
</dialog.main> | ||
<dialog.footer data-analytics-scope='Verify email modal'> | ||
<Button | ||
data-test-deny-email | ||
data-analytics-name='Deny' | ||
disabled={{this.disableButtons}} | ||
{{on 'click' (action this.deny)}} | ||
> | ||
{{t this.translationKeys.denyButton}} | ||
</Button> | ||
<Button | ||
data-test-verify-email | ||
data-analytics-name='Verify' | ||
disabled={{this.disableButtons}} | ||
@type='primary' | ||
{{on 'click' (action this.verify)}} | ||
> | ||
{{t this.translationKeys.verifyButton}} | ||
</Button> | ||
</dialog.footer> | ||
</OsfDialog> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.