add notification to confirm unconfirmed emails

This commit is contained in:
hugh-obrien 2018-09-13 14:44:28 +01:00
parent 203c005f26
commit e343c04423

View file

@ -22,6 +22,25 @@ if hasFeature('v2-banner')
span(aria-hidden="true") × span(aria-hidden="true") ×
span.sr-only #{translate("close")} 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 span(ng-controller="NotificationsController").userNotifications
ul.list-unstyled.notifications-list( ul.list-unstyled.notifications-list(
ng-if="notifications.length > 0", ng-if="notifications.length > 0",