summaryrefslogtreecommitdiffstats
path: root/hyperkitty/templates
diff options
context:
space:
mode:
authorAurélien Bompard <aurelien@bompard.org>2012-09-18 17:51:18 +0200
committerAurélien Bompard <aurelien@bompard.org>2012-09-18 17:51:18 +0200
commit1deba8a242b641ed7145eb4bfa19cbdcc3275dd4 (patch)
tree8d98b7026405ec21675711706e282d47f3c3810f /hyperkitty/templates
parentcb68f4a15d31d42f657f7065af60d7556e0eaf59 (diff)
downloadhyperkitty-1deba8a242b641ed7145eb4bfa19cbdcc3275dd4.tar.gz
hyperkitty-1deba8a242b641ed7145eb4bfa19cbdcc3275dd4.tar.xz
hyperkitty-1deba8a242b641ed7145eb4bfa19cbdcc3275dd4.zip
Add 404 errors and improve error messages
Diffstat (limited to 'hyperkitty/templates')
-rw-r--r--hyperkitty/templates/404.html14
-rw-r--r--hyperkitty/templates/500.html14
2 files changed, 14 insertions, 14 deletions
diff --git a/hyperkitty/templates/404.html b/hyperkitty/templates/404.html
index dbc98cb..6f321aa 100644
--- a/hyperkitty/templates/404.html
+++ b/hyperkitty/templates/404.html
@@ -1,6 +1,6 @@
{% extends "base.html" %}
{% load i18n %}
-{% block content %}
+{% block content %}
<style>
#contentBox
{
@@ -8,7 +8,7 @@
font-family: 'Times New Roman';
font-size:20px;
color:#444;
- margin-left:300px;
+ margin-left:300px;
margin-top:100px;
}
.hello
@@ -27,11 +27,11 @@
<div id="contentBox" style="width:50%; ">
<span class="hello"> 404 </span>
<br/><br/>
- <span style="font-size:60px; color:#444;font-family: 'Times New Roman';"> Oh! Snap </span>
+ <span style="font-size:60px; color:#444;font-family: 'Times New Roman';"> Oh! Snap </span>
<br/><br/>
- This is not the page you were looking for right!
- <a href ="/">Fix This </a>
+ I can't find this page.
+ <a href ="{% url root %}">Back home</a>
</div>
</div>
-
-{% endblock %} \ No newline at end of file
+
+{% endblock %}
diff --git a/hyperkitty/templates/500.html b/hyperkitty/templates/500.html
index 6c156d7..3932daf 100644
--- a/hyperkitty/templates/500.html
+++ b/hyperkitty/templates/500.html
@@ -1,6 +1,6 @@
{% extends "base.html" %}
{% load i18n %}
-{% block content %}
+{% block content %}
<style>
#contentBox
{
@@ -8,7 +8,7 @@
font-family: 'Times New Roman';
font-size:20px;
color:#444;
- margin-left:300px;
+ margin-left:300px;
margin-top:100px;
}
.hello
@@ -27,11 +27,11 @@
<div id="contentBox" style="width:50%; ">
<span class="hello"> 500 </span>
<br/><br/>
- <span style="font-size:60px; color:#444;font-family: 'Times New Roman';"> Oh! Snap </span>
+ <span style="font-size:60px; color:#444;font-family: 'Times New Roman';"> Oh! Snap </span>
<br/><br/>
- This is not the page you were looking for right!
- <a href ="/">Fix This </a>
+ There's been an error somewhere, sorry.
+ <a href ="{% url root %}">Back home</a>
</div>
</div>
-
-{% endblock %} \ No newline at end of file
+
+{% endblock %}