UX: when staff change their email address, show a message saying an email has been sent to their current address, not their new one

This commit is contained in:
Neil Lalonde 2017-08-09 13:42:49 -04:00
parent f11253dcb6
commit 197944edaa
2 changed files with 8 additions and 1 deletions

View File

@ -10,7 +10,13 @@
{{#if success}}
<div class="control-group">
<div class="instructions">
<p>{{i18n 'user.change_email.success'}}</p>
<p>
{{#if currentUser.staff}}
{{i18n 'user.change_email.success_staff'}}
{{else}}
{{i18n 'user.change_email.success'}}
{{/if}}
</p>
</div>
</div>
{{else}}

View File

@ -706,6 +706,7 @@ en:
taken: "Sorry, that email is not available."
error: "There was an error changing your email. Perhaps that address is already in use?"
success: "We've sent an email to that address. Please follow the confirmation instructions."
success_staff: "We've sent an email to your current address. Please follow the confirmation instructions."
change_avatar:
title: "Change your profile picture"