mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
add notification to confirm unconfirmed emails
This commit is contained in:
parent
203c005f26
commit
e343c04423
1 changed files with 19 additions and 0 deletions
|
@ -22,6 +22,25 @@ if hasFeature('v2-banner')
|
|||
span(aria-hidden="true") ×
|
||||
span.sr-only #{translate("close")}
|
||||
|
||||
.userNotifications
|
||||
ul.list-unstyled.notifications-list(
|
||||
ng-controller="UserAffiliationsController",
|
||||
ng-cloak
|
||||
)
|
||||
li.notification_entry(
|
||||
ng-repeat="userEmail in userEmails",
|
||||
ng-if="!userEmail.confirmedAt"
|
||||
)
|
||||
.row
|
||||
.col-xs-12
|
||||
.alert.alert-danger
|
||||
.notification_inner
|
||||
| Please confirm your email {{userEmail.email}} by clicking on the link in the confirmation email
|
||||
a(
|
||||
href,
|
||||
ng-click="resendConfirmationEmail(userEmail)"
|
||||
) (#{translate('resend_confirmation_email')})
|
||||
|
||||
span(ng-controller="NotificationsController").userNotifications
|
||||
ul.list-unstyled.notifications-list(
|
||||
ng-if="notifications.length > 0",
|
||||
|
|
Loading…
Reference in a new issue