Files
edx-platform/lms/templates/module-error.html
Adam Palay 69ffb6a87b replace edx with variable substitution
fixes template errors

keep tos untranslated

formatting fixes
2013-07-31 19:39:15 -04:00

23 lines
673 B
HTML

<%! from django.utils.translation import ugettext as _ %>
<section class="outside-app">
<h1>${_("There has been an error on the <em>{platform_name}</em> servers")}</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 <a href=\"mailto:{tech_support_email}\">{tech_support_email}</a> to report any problems or downtime.").format(platform_name=settings.PLATFORM_NAME, tech_support_email=settings.TECH_SUPPORT_EMAIL)}</p>
% if staff_access:
<h1>${_("Details")}</h1>
<p>${_("Error:")}
<pre>
${error | h}
</pre>
</p>
<p>${_("Raw data:")}
<pre>${data | h}</pre>
</p>
% endif
</section>