From: yomguy Date: Tue, 16 Oct 2012 13:53:46 +0000 (+0200) Subject: add 404 & 500 X-Git-Tag: 0.9-probarreau~347 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=5ad4f337848ceb1c91e5b215140cb71b11dd735d;p=teleforma.git add 404 & 500 --- diff --git a/teleforma/templates/404.html b/teleforma/templates/404.html new file mode 100644 index 00000000..1ee335d6 --- /dev/null +++ b/teleforma/templates/404.html @@ -0,0 +1,13 @@ +{% extends "telemeta/base.html" %} +{% load teleforma_tags %} +{% load telemeta_utils %} +{% load i18n %} + + +{% block content %} + +
+{% trans "Page not found" %} +
+ +{% endblock content %} diff --git a/teleforma/templates/500.html b/teleforma/templates/500.html new file mode 100644 index 00000000..1260c539 --- /dev/null +++ b/teleforma/templates/500.html @@ -0,0 +1,13 @@ +{% extends "telemeta/base.html" %} +{% load teleforma_tags %} +{% load telemeta_utils %} +{% load i18n %} + + +{% block content %} + +
+{% trans "Server error" %} +
+ +{% endblock content %} diff --git a/teleforma/templates/teleforma/404.html b/teleforma/templates/teleforma/404.html deleted file mode 100644 index 70d9b073..00000000 --- a/teleforma/templates/teleforma/404.html +++ /dev/null @@ -1,13 +0,0 @@ -{% extends "telemeta/base.html" %} -{% load teleforma_tags %} -{% load telemeta_utils %} -{% load i18n %} - - -{% block content %} - -
-{% trans "Page not found" %} -
- -{% endblock content %}