annotate build/messages/templates/error.html @ 123:b6f79f23904a

Upgrade system messages to the new folder structure.
author Ludovic Chabant <ludovic@chabant.com>
date Fri, 14 Nov 2014 22:43:29 +0100
parents
children 67a1c082d89d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
123
b6f79f23904a Upgrade system messages to the new folder structure.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
1 {% extends "default.html" %}
b6f79f23904a Upgrade system messages to the new folder structure.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
2
b6f79f23904a Upgrade system messages to the new folder structure.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
3 {% block content %}
b6f79f23904a Upgrade system messages to the new folder structure.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
4 {{content|safe}}
b6f79f23904a Upgrade system messages to the new folder structure.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
5
b6f79f23904a Upgrade system messages to the new folder structure.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
6 {% raw %}
b6f79f23904a Upgrade system messages to the new folder structure.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
7 {% if details %}
b6f79f23904a Upgrade system messages to the new folder structure.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
8 <div class="error-details">
b6f79f23904a Upgrade system messages to the new folder structure.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
9 {{ details|safe }}
b6f79f23904a Upgrade system messages to the new folder structure.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
10 </div>
b6f79f23904a Upgrade system messages to the new folder structure.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
11 {% endif %}
b6f79f23904a Upgrade system messages to the new folder structure.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
12 {% endraw %}
b6f79f23904a Upgrade system messages to the new folder structure.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
13 {% endblock %}
b6f79f23904a Upgrade system messages to the new folder structure.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
14
b6f79f23904a Upgrade system messages to the new folder structure.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
15 {% block footer %}
b6f79f23904a Upgrade system messages to the new folder structure.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
16 {% pcformat 'textile' %}
b6f79f23904a Upgrade system messages to the new folder structure.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
17 p(note). You're seeing this because something wrong happend. To see detailed errors with callstacks, run chef with the @--debug@ parameter, append @?!debug@ to the URL, or initialize the @PieCrust@ object with @{'debug'=>true}@. On the other hand, to see you custom error pages, set the @site/display_errors@ setting to @false@.
b6f79f23904a Upgrade system messages to the new folder structure.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
18 {% endpcformat %}
b6f79f23904a Upgrade system messages to the new folder structure.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
19 {% endblock %}