module-error.html 750 Bytes
Newer Older
1 2
<%! from django.utils.translation import ugettext as _ %>

3
<section class="outside-app">
4 5
  <h1>
    ${_("There has been an error on the {platform_name} servers").format(
6
        platform_name=u"<em>{}</em>".format(settings.PLATFORM_NAME)
7 8 9 10 11 12
    )}
  </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(
13
        tech_support_email=u"<a href=\"mailto:{0}\">{0}</a>".format(settings.TECH_SUPPORT_EMAIL)
14 15
    )}
  </p>
16

17
% if staff_access:
18
<h1>${_("Details")}</h1>
19

20
<p>${_("Error:")}
21 22 23 24
<pre>
${error | h}
</pre>
</p>
25

26
<p>${_("Raw data:")}
27

28 29 30 31
<pre>${data | h}</pre>
</p>

% endif
32
</section>