feat: remove edX branding on account deletion

This commit is contained in:
mariagrimaldi
2020-12-08 11:44:36 -04:00
committed by Maria Grimaldi
parent f3dab829fe
commit ac62e83958
2 changed files with 2 additions and 14 deletions

View File

@@ -38,13 +38,7 @@ export class StudentAccountDeletion extends React.Component {
render() {
const { deletionModalOpen, socialAuthConnected, isActive } = this.state;
const loseAccessText = StringUtils.interpolate(
gettext('You may also lose access to verified certificates and other program credentials like MicroMasters certificates. If you want to make a copy of these for your records before proceeding with deletion, follow the instructions for {htmlStart}printing or downloading a certificate{htmlEnd}.'),
{
htmlStart: '<a href="https://edx.readthedocs.io/projects/open-edx-learner-guide/en/latest/OpenSFD_certificates.html#print-a-web-certificate" rel="noopener" target="_blank">',
htmlEnd: '</a>',
},
);
const loseAccessText = gettext('You may also lose access to verified certificates and other program credentials. You can make a copy of these for your records before proceeding with deletion.')
const showError = socialAuthConnected || !isActive;

View File

@@ -94,13 +94,7 @@ class StudentAccountDeletionConfirmationModal extends React.Component {
validationMessage,
} = this.state;
const { onClose } = this.props;
const loseAccessText = StringUtils.interpolate(
gettext('You may also lose access to verified certificates and other program credentials like MicroMasters certificates. If you want to make a copy of these for your records before proceeding with deletion, follow the instructions for {htmlStart}printing or downloading a certificate{htmlEnd}.'),
{
htmlStart: '<a href="https://edx.readthedocs.io/projects/open-edx-learner-guide/en/latest/OpenSFD_certificates.html#print-a-web-certificate" rel="noopener" target="_blank">',
htmlEnd: '</a>',
},
);
const loseAccessText = gettext('You may also lose access to verified certificates and other program credentials. You can make a copy of these for your records before proceeding with deletion.')
const noteDeletion = StringUtils.interpolate(
gettext('You have selected “Delete my account.” Deletion of your account and personal data is permanent and cannot be undone. {platformName} will not be able to recover your account or the data that is deleted.'),