Files
edx-platform/lms/templates/module-error.html
Matt Tuchfarber 827c703d16 Change templates to use site aware email
Template were using global TECH_SUPPORT_EMAIL for error pages. This
changes them to use the site email if there is one.
2017-07-26 16:45:12 -04:00

37 lines
877 B
HTML

<%!
from django.utils.translation import ugettext as _
from openedx.core.djangolib.markup import HTML, Text
%>
<%namespace name='static' file='../static_content.html'/>
<section class="outside-app">
<h1>
${_("There has been an error on the {platform_name} servers").format(
platform_name=u"<em>{}</em>".format(static.get_platform_name())
)}
</h1>
<p>
${_("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=u"<a href=\"mailto:{0}\">{0}</a>".format(static.get_tech_support_email_address())
)}
</p>
% if staff_access:
<h1>${_("Details")}</h1>
<p>${_("Error:")}
<pre>
${error | h}
</pre>
</p>
<p>${_("Raw data:")}
<pre>${data | h}</pre>
</p>
% endif
</section>