From e343c0442398048eb65fed1a769514ef9f843da5 Mon Sep 17 00:00:00 2001 From: hugh-obrien Date: Thu, 13 Sep 2018 14:44:28 +0100 Subject: [PATCH] add notification to confirm unconfirmed emails --- .../app/views/project/list/notifications.pug | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/services/web/app/views/project/list/notifications.pug b/services/web/app/views/project/list/notifications.pug index 04ba3827dc..e6e837b427 100644 --- a/services/web/app/views/project/list/notifications.pug +++ b/services/web/app/views/project/list/notifications.pug @@ -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",