From d0279a8d24b0fba445c2181aebff03f6fb193ec8 Mon Sep 17 00:00:00 2001 From: Cristhian Garcia Date: Fri, 18 Feb 2022 11:28:34 -0500 Subject: [PATCH] fix: old links edx-guide-for-students now point to open-edx-learner-guide --- lms/static/js/fixtures/calculator.html | 4 ++-- .../js/student_account/components/StudentAccountDeletion.jsx | 2 +- .../components/StudentAccountDeletionModal.jsx | 2 +- lms/templates/calculator/toggle_calculator.html | 4 ++-- .../certificates/_edx-accomplishment-print-help.html | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/lms/static/js/fixtures/calculator.html b/lms/static/js/fixtures/calculator.html index 7330e64693..2a6f189590 100644 --- a/lms/static/js/fixtures/calculator.html +++ b/lms/static/js/fixtures/calculator.html @@ -13,8 +13,8 @@
  • For detailed information, see - Entering Mathematical and Scientific Expressions in the - EdX Learner's Guide. + Entering Mathematical and Scientific Expressions in the + EdX Learner's Guide.

  • diff --git a/lms/static/js/student_account/components/StudentAccountDeletion.jsx b/lms/static/js/student_account/components/StudentAccountDeletion.jsx index 741bd5a9e7..d04756dcf2 100644 --- a/lms/static/js/student_account/components/StudentAccountDeletion.jsx +++ b/lms/static/js/student_account/components/StudentAccountDeletion.jsx @@ -41,7 +41,7 @@ export class StudentAccountDeletion extends React.Component { 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: '', + htmlStart: '', htmlEnd: '', }, ); diff --git a/lms/static/js/student_account/components/StudentAccountDeletionModal.jsx b/lms/static/js/student_account/components/StudentAccountDeletionModal.jsx index 9c6c68b235..d469cc9977 100644 --- a/lms/static/js/student_account/components/StudentAccountDeletionModal.jsx +++ b/lms/static/js/student_account/components/StudentAccountDeletionModal.jsx @@ -95,7 +95,7 @@ class StudentAccountDeletionConfirmationModal extends React.Component { 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: '', + htmlStart: '', htmlEnd: '', }, ); diff --git a/lms/templates/calculator/toggle_calculator.html b/lms/templates/calculator/toggle_calculator.html index 37531ee3a3..61ddb68c9e 100644 --- a/lms/templates/calculator/toggle_calculator.html +++ b/lms/templates/calculator/toggle_calculator.html @@ -25,9 +25,9 @@ from openedx.core.djangolib.markup import HTML, Text

    ${Text(_("For detailed information, see {math_link_start}Entering Mathematical and Scientific Expressions{math_link_end} in the {guide_link_start}edX Guide for Students{guide_link_end}.")).format( - math_link_start=HTML(''), + math_link_start=HTML(''), math_link_end=HTML(''), - guide_link_start=HTML(''), + guide_link_start=HTML(''), guide_link_end=HTML(''), )} diff --git a/lms/templates/certificates/_edx-accomplishment-print-help.html b/lms/templates/certificates/_edx-accomplishment-print-help.html index 148772162d..9622aa7208 100644 --- a/lms/templates/certificates/_edx-accomplishment-print-help.html +++ b/lms/templates/certificates/_edx-accomplishment-print-help.html @@ -8,7 +8,7 @@ from openedx.core.djangolib.markup import HTML, Text