changeset 152:07e85fcb9268

Small correction to error page.
author Daniele Nicolodi <daniele@grinta.net>
date Wed, 26 Oct 2011 20:02:09 +0200
parents 46caabb1ac77
children 49ae14f1eaef
files src/ltpdarepo/templates/error.html
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ltpdarepo/templates/error.html	Wed Oct 26 20:01:36 2011 +0200
+++ b/src/ltpdarepo/templates/error.html	Wed Oct 26 20:02:09 2011 +0200
@@ -1,5 +1,5 @@
 {% extends "layout.html" %}
-{% block title %}{{ error }}{% endblock %}
+{% block title %}{{ error.code }}: {{ error.name }}{% endblock %}
 {% block body %}
   <h2 class="error">{{ error.code }}: {{ error.name }}</h2>
   <div class="discrete">{{ error.description|safe }}</div>