diff --git a/static/js/pages/user-view.js b/static/js/pages/user-view.js index dba93ca31..ff15d0c4d 100644 --- a/static/js/pages/user-view.js +++ b/static/js/pages/user-view.js @@ -121,6 +121,7 @@ var errorDisplay = ApiService.errorDisplay('Could not change email address', callback); ApiService.changeUserDetails(details).then(function() { + $scope.context.emailAwaitingChange = $scope.changeEmailInfo.email; callback(true); }, errorDisplay); }; diff --git a/static/partials/user-view.html b/static/partials/user-view.html index 8d51c8313..3a7e3950d 100644 --- a/static/partials/user-view.html +++ b/static/partials/user-view.html @@ -112,7 +112,12 @@ Email Address: - {{ context.viewuser.email }} +
+ An email has been sent to {{ context.emailAwaitingChange }}. Please click the Confirm button + to apply the email change. +
+ + {{ context.viewuser.email }} @@ -148,7 +153,7 @@ dialog-action-title="Change Email" dialog-form="context.emailform">
- Please enter a new email address. A verification email will be sent before being applied. + Please enter a new email address. A verification email will be sent before the change is applied.