changeset 174:e40d79359d07

Make 400, 500 error pages work again
author dellsystem <ilostwaldo@gmail.com>
date Sat, 20 Oct 2012 13:07:44 -0400
parents b5e9ad94da00
children 1be4e1229711
files templates/404.html templates/500.html
diffstat 2 files changed, 7 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- a/templates/404.html	Sat Oct 20 00:38:23 2012 -0400
+++ b/templates/404.html	Sat Oct 20 13:07:44 2012 -0400
@@ -1,16 +1,13 @@
 {% extends "base.djhtml" %}
 
 {% block title %}
-Object not found
+Page not found
 {% endblock %}
 
-{% block boxtitle %}
-Object not found
-{% endblock %}
-
-{% block boxcontents %}
+{% block content %}
+<h1>Page not found</h1>
 <p>
-  The resource you were looking for is unavailable. If you think this
+  The page you were looking for is unavailable. If you think this
   is our fault, please let us know.
 </p>
 {% endblock %}
--- a/templates/500.html	Sat Oct 20 00:38:23 2012 -0400
+++ b/templates/500.html	Sat Oct 20 13:07:44 2012 -0400
@@ -1,13 +1,11 @@
 {% extends "base.djhtml" %}
+
 {% block title %}
 Server error
 {% endblock %}
 
-{% block boxtitle %}
-Oops...
-{% endblock %}
-
-{% block boxcontents %}
+{% block content %}
+<h2>Oops ...</h2>
 <p>
   The server encountered an internal error. If the problem persists,
   please let us know.