* Add 404 and 500 templates for displaying pretty page not found and server error...
[matthijs/projects/xerxes.git] / templates / 500.html
diff --git a/templates/500.html b/templates/500.html
new file mode 100644 (file)
index 0000000..aa558e5
--- /dev/null
@@ -0,0 +1,13 @@
+{% extends "base/base.html" %}
+{% load i18n %}
+{% load encode_email %}
+
+{% block content %}
+{% with "xerxes@evolution-events.nl" as email %}
+<h1>{% trans "Server error" %}</h1>
+{% blocktrans with email|encode_string|safe as email %}
+There was an error processing your request. Please try again, or send 
+an <a href=mailto:{{ email }}>email</a>.
+{% endblocktrans %}
+{% endwith %}
+{% endblock %}