removed technical email from module error

This commit is contained in:
Ahtisham Shahid
2020-05-21 13:16:13 +05:00
parent d8ac4621fd
commit 5d9555f6a3
3 changed files with 3 additions and 11 deletions

View File

@@ -26,10 +26,7 @@ from openedx.core.djangolib.markup import HTML, Text
)}
</h1>
<p>
${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'<a href=\"mailto:{0}\">{0}</a>').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.")) }
</p>
</section>
</section>

View File

@@ -5,8 +5,6 @@
from django.utils.translation import ugettext as _
from openedx.core.djangolib.markup import HTML, Text
%>
<%
tech_support_email=HTML('<a href=\"mailto:{tech_support_email}\">{tech_support_email}</a>').format(tech_support_email=static.get_tech_support_email_address())
%>
<p>${Text(_("We're sorry, this module is temporarily unavailable. Our staff is working to fix it as soon as possible."))}</p>

View File

@@ -13,10 +13,7 @@ from openedx.core.djangolib.markup import HTML, Text
</h1>
<p>
${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"<a href=\"mailto:{0}\">{0}</a>").format(static.get_tech_support_email_address())
)}
"to fix it as soon as possible. " )) }
</p>
% if staff_access: