Add user retirement warning text about email retirement.
This commit is contained in:
@@ -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: '<a href="https://support.edx.org/hc/en-us/sections/115004139268-Manage-Your-Account-Settings" target="_blank">',
|
||||
htmlEnd: '</a>',
|
||||
},
|
||||
);
|
||||
|
||||
return (
|
||||
<div className="account-deletion-details">
|
||||
<p className="account-settings-header-subtitle">{ gettext('We’re sorry to see you go!') }</p>
|
||||
@@ -73,7 +81,15 @@ export class StudentAccountDeletion extends React.Component {
|
||||
className="account-settings-header-subtitle"
|
||||
dangerouslySetInnerHTML={{ __html: loseAccessText }}
|
||||
/>
|
||||
|
||||
<p className="account-settings-header-subtitle-warning">
|
||||
<strong>{ gettext('Warning: Account deletion is permanent. ') }</strong>
|
||||
{gettext('Please read the above carefully before proceeding. This is an irreversible action, and ')}
|
||||
<strong>{ gettext('you will no longer be able to use the same email on edX.') }</strong>
|
||||
</p>
|
||||
<p
|
||||
className="account-settings-header-subtitle"
|
||||
dangerouslySetInnerHTML={{ __html: changeAcctInfoText }}
|
||||
/>
|
||||
<Button
|
||||
id="delete-account-btn"
|
||||
className={['btn-outline-primary']}
|
||||
|
||||
@@ -130,6 +130,11 @@
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
|
||||
.account-settings-header-subtitle-warning {
|
||||
@extend .account-settings-header-subtitle;
|
||||
color: #ab2121;
|
||||
}
|
||||
|
||||
.account-settings-section-message {
|
||||
font-size: 16px;
|
||||
line-height: 22px;
|
||||
|
||||
Reference in New Issue
Block a user