Mercurial > hg > agora
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 +++ b/templates/404.html @@ -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 +++ b/templates/500.html @@ -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.