]> git.parisson.com Git - teleforma.git/commitdiff
add 404 & 500
authoryomguy <yomguy@parisson.com>
Tue, 16 Oct 2012 13:53:46 +0000 (15:53 +0200)
committeryomguy <yomguy@parisson.com>
Tue, 16 Oct 2012 13:53:46 +0000 (15:53 +0200)
teleforma/templates/404.html [new file with mode: 0644]
teleforma/templates/500.html [new file with mode: 0644]
teleforma/templates/teleforma/404.html [deleted file]

diff --git a/teleforma/templates/404.html b/teleforma/templates/404.html
new file mode 100644 (file)
index 0000000..1ee335d
--- /dev/null
@@ -0,0 +1,13 @@
+{% extends "telemeta/base.html" %}
+{% load teleforma_tags %}
+{% load telemeta_utils %}
+{% load i18n %}
+
+
+{% block content %}
+
+<div style="margin-top: 4em; margin-bottom: 4em;">
+{% trans "Page not found" %}
+</div>
+
+{% endblock content %}
diff --git a/teleforma/templates/500.html b/teleforma/templates/500.html
new file mode 100644 (file)
index 0000000..1260c53
--- /dev/null
@@ -0,0 +1,13 @@
+{% extends "telemeta/base.html" %}
+{% load teleforma_tags %}
+{% load telemeta_utils %}
+{% load i18n %}
+
+
+{% block content %}
+
+<div style="margin-top: 4em; margin-bottom: 4em;">
+{% trans "Server error" %}
+</div>
+
+{% endblock content %}
diff --git a/teleforma/templates/teleforma/404.html b/teleforma/templates/teleforma/404.html
deleted file mode 100644 (file)
index 70d9b07..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-{% extends "telemeta/base.html" %}
-{% load teleforma_tags %}
-{% load telemeta_utils %}
-{% load i18n %}
-
-
-{% block content %}
-
-<div>
-{% trans "Page not found" %}
-</div>
-
-{% endblock content %}