fixup! Add user retirement warning text about email retirement.

This commit is contained in:
John Eskew
2018-10-10 10:43:57 -04:00
parent e493781996
commit c8e640f88e
2 changed files with 13 additions and 6 deletions

View File

@@ -72,6 +72,14 @@ export class StudentAccountDeletion extends React.Component {
},
);
const acctDeletionWarningText = StringUtils.interpolate(
gettext('{strongStart}Warning: Account deletion is permanent.{strongEnd} Please read the above carefully before proceeding. This is an irreversible action, and {strongStart}you will no longer be able to use the same email on edX.{strongEnd}'),
{
strongStart: '<strong>',
strongEnd: '</strong>',
},
);
return (
<div className="account-deletion-details">
<p className="account-settings-header-subtitle">{ gettext('Were sorry to see you go!') }</p>
@@ -81,11 +89,10 @@ 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-warning"
dangerouslySetInnerHTML={{ __html: acctDeletionWarningText }}
/>
<p
className="account-settings-header-subtitle"
dangerouslySetInnerHTML={{ __html: changeAcctInfoText }}

View File

@@ -132,7 +132,7 @@
.account-settings-header-subtitle-warning {
@extend .account-settings-header-subtitle;
color: #ab2121;
color: $alert-color;
}
.account-settings-section-message {