Skip to content

Commit

Permalink
remove edx stuff from account deletion views
Browse files Browse the repository at this point in the history
  • Loading branch information
grozdanowski authored and OmarIthawi committed Apr 2, 2021
1 parent 399393c commit b55a11e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,23 +107,12 @@ export class StudentAccountDeletion extends React.Component {
return (
<div className="account-deletion-details">
<p className="account-settings-header-subtitle">{ gettext('We’re sorry to see you go!') }</p>
<p className="account-settings-header-subtitle">{noteDeletion}</p>
<p className="account-settings-header-subtitle">
<span>{bodyDeletion} </span>
<span>{bodyDeletion2}</span>
</p>
<p className="account-settings-header-subtitle">{ gettext('Please note: Deletion of your account and personal data is permanent and cannot be undone. We will not be able to recover your account or the data that is deleted.') }</p>
<p className="account-settings-header-subtitle">{ gettext('Once your account is deleted, you cannot use it to take courses on the app. This includes access to the app from your employer’s or university’s system and access to private sites offered.') }</p>
<p
className="account-settings-header-subtitle"
dangerouslySetInnerHTML={{ __html: loseAccessText }}
/>
<p
className="account-settings-header-subtitle-warning"
dangerouslySetInnerHTML={{ __html: acctDeletionWarningText }}
/>
<p
className="account-settings-header-subtitle"
dangerouslySetInnerHTML={{ __html: changeAcctInfoText }}
/>
<Button
id="delete-account-btn"
className={['btn-outline-primary']}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -162,11 +162,8 @@ class StudentAccountDeletionConfirmationModal extends React.Component {
<Icon id="delete-confirmation-body-warning-icon" className={['fa', 'fa-exclamation-triangle']} />
</div>
<div className="alert-content">
<h3 className="alert-title">{noteDeletion}</h3>
<p>
<span>{bodyDeletion} </span>
<span>{bodyDeletion2}</span>
</p>
<h3 className="alert-title">{ gettext('You have selected “Delete my account.” Deletion of your account and personal data is permanent and cannot be undone. We will not be able to recover your account or the data that is deleted.') }</h3>
<p>{ gettext('If you proceed, you will be unable to use this account to take courses on the app. This includes access to the app from your employer’s or university’s system and access to private sites offered.') }</p>
<p dangerouslySetInnerHTML={{ __html: loseAccessText }} />
</div>
</div>
Expand Down

0 comments on commit b55a11e

Please sign in to comment.