module-error.html 874 Bytes
Newer Older
1 2 3 4
<%!
from django.utils.translation import ugettext as _
from openedx.core.djangolib.markup import HTML, Text
%>
Harry Rein committed
5
<%namespace name='static' file='static_content.html'/>
6

7
<section class="outside-app">
8 9
  <h1>
    ${_("There has been an error on the {platform_name} servers").format(
10
        platform_name=u"<em>{}</em>".format(static.get_platform_name())
11 12 13 14 15 16
    )}
  </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(
17
        tech_support_email=u"<a href=\"mailto:{0}\">{0}</a>".format(static.get_tech_support_email_address())
18 19
    )}
  </p>
20

21
% if staff_access:
22
<h1>${_("Details")}</h1>
23

24
<p>${_("Error:")}
25 26 27 28
<pre>
${error | h}
</pre>
</p>
29

30
<p>${_("Raw data:")}
31

32 33 34 35
<pre>${data | h}</pre>
</p>

% endif
36
</section>