]> git.ipfire.org Git - people/jschlag/pbs.git/blob - src/templates/errors/error.html
Use autotools
[people/jschlag/pbs.git] / src / templates / errors / error.html
1 {% extends "../base.html" %}
2
3 {% block body %}
4 <div class="hero-unit">
5 {% block bigbox %}
6 <h1>
7 {% block bigbox_headline %}
8 {{ _("Oops! Don't panic.") }}
9 {% end block %}
10 <br>
11
12 {% block bigbox_subtitle %}
13 <small>{{ _("An unexpected error happened.") }}</small>
14 {% end block %}
15 </h1>
16
17 {% block explanation %}
18 <p>
19 {{ _("Stay calm and read the text below to find out what went wrong.") }}
20 </p>
21 {% end block %}
22 {% end block %}
23 </div>
24
25 {% block message %}
26 <div class="row">
27 <div class="span12">
28 <table class="table">
29 <tbody>
30 <tr>
31 <td>{{ _("Error code") }}</td>
32 <td>{{ code }} - {{ message }}</td>
33 </tr>
34
35 {% if current_user and current_user.is_admin() and exception %}
36 <tr>
37 <td colspan="2">
38 {{ _("Exception (traceback):") }}
39 <br><br>
40 <pre>{{ exception }}</pre>
41 </td>
42 </tr>
43 {% end %}
44 </tbody>
45 </table>
46
47 <hr>
48 <p>
49 {{ _("Please try going back to the previous page and try the action you did again in a moment.") }}
50 {{ _("If the error persists, you should consider to get in touch with an administrator.") }}
51 </p>
52 </div>
53 </div>
54 {% end block %}
55 {% end %}