From e4937819961bc3ae206fbab55f9fd8b557ac7fdd Mon Sep 17 00:00:00 2001 From: John Eskew Date: Thu, 4 Oct 2018 17:40:50 -0400 Subject: [PATCH] Add user retirement warning text about email retirement. --- .../components/StudentAccountDeletion.jsx | 18 +++++++++++++++++- lms/static/sass/views/_account-settings.scss | 5 +++++ 2 files changed, 22 insertions(+), 1 deletion(-) diff --git a/lms/static/js/student_account/components/StudentAccountDeletion.jsx b/lms/static/js/student_account/components/StudentAccountDeletion.jsx index 1dbbaeaa9f..4212501790 100644 --- a/lms/static/js/student_account/components/StudentAccountDeletion.jsx +++ b/lms/static/js/student_account/components/StudentAccountDeletion.jsx @@ -64,6 +64,14 @@ export class StudentAccountDeletion extends React.Component { }, ); + const changeAcctInfoText = StringUtils.interpolate( + gettext('{htmlStart}Want to change your email, name, or password instead?{htmlEnd}'), + { + htmlStart: '', + htmlEnd: '', + }, + ); + return (

{ gettext('We’re sorry to see you go!') }

@@ -73,7 +81,15 @@ export class StudentAccountDeletion extends React.Component { className="account-settings-header-subtitle" dangerouslySetInnerHTML={{ __html: loseAccessText }} /> - +

+ { gettext('Warning: Account deletion is permanent. ') } + {gettext('Please read the above carefully before proceeding. This is an irreversible action, and ')} + { gettext('you will no longer be able to use the same email on edX.') } +

+