diff 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
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/build/messages/templates/error.html	Fri Nov 14 22:43:29 2014 +0100
@@ -0,0 +1,19 @@
+{% extends "default.html" %}
+
+{% block content %}
+{{content|safe}}
+
+{% raw %}
+{% if details %}
+<div class="error-details">
+    {{ details|safe }}
+</div>
+{% endif %}
+{% endraw %}
+{% endblock %}
+
+{% block footer %}
+{% pcformat 'textile' %}
+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@.
+{% endpcformat %}
+{% endblock %}