From 5d9555f6a396288886ffeef25b605ea61c496bf2 Mon Sep 17 00:00:00 2001 From: Ahtisham Shahid Date: Thu, 21 May 2020 13:16:13 +0500 Subject: [PATCH] removed technical email from module error --- lms/templates/courseware/courseware-error.html | 5 +---- lms/templates/courseware/error-message.html | 4 +--- lms/templates/module-error.html | 5 +---- 3 files changed, 3 insertions(+), 11 deletions(-) diff --git a/lms/templates/courseware/courseware-error.html b/lms/templates/courseware/courseware-error.html index 2d7babaf28..403e4a35eb 100644 --- a/lms/templates/courseware/courseware-error.html +++ b/lms/templates/courseware/courseware-error.html @@ -26,10 +26,7 @@ from openedx.core.djangolib.markup import HTML, Text )}

- ${Text(_("We're sorry, this module is temporarily unavailable. Our staff is working to fix " - "it as soon as possible. Please email us at {tech_support_email} to report any problems or downtime.")).format( - tech_support_email=HTML(u'{0}').format(static.get_tech_support_email_address()) - )} + ${Text(_("We're sorry, this module is temporarily unavailable. Our staff is working to fix it as soon as possible.")) }

diff --git a/lms/templates/courseware/error-message.html b/lms/templates/courseware/error-message.html index dc74974487..c3b0fe287a 100644 --- a/lms/templates/courseware/error-message.html +++ b/lms/templates/courseware/error-message.html @@ -5,8 +5,6 @@ from django.utils.translation import ugettext as _ from openedx.core.djangolib.markup import HTML, Text %> -<% - tech_support_email=HTML('{tech_support_email}').format(tech_support_email=static.get_tech_support_email_address()) -%> +

${Text(_("We're sorry, this module is temporarily unavailable. Our staff is working to fix it as soon as possible."))}

diff --git a/lms/templates/module-error.html b/lms/templates/module-error.html index e8a251b693..d022597965 100644 --- a/lms/templates/module-error.html +++ b/lms/templates/module-error.html @@ -13,10 +13,7 @@ from openedx.core.djangolib.markup import HTML, Text

${Text(_("We're sorry, this module is temporarily unavailable. Our staff is working " - "to fix it as soon as possible. Please email us at {tech_support_email} to " - "report any problems or downtime.")).format( - tech_support_email=HTML(u"{0}").format(static.get_tech_support_email_address()) - )} + "to fix it as soon as possible. " )) }

% if staff_access: