From 16131b8d835fc30bb25984f11fad08bc44b4c4b3 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Wed, 5 Sep 2018 16:39:02 +0200 Subject: 500 page --- ishtar_common/templates/404.html | 7 ++----- ishtar_common/templates/500.html | 17 +++++++++++++++++ 2 files changed, 19 insertions(+), 5 deletions(-) create mode 100644 ishtar_common/templates/500.html (limited to 'ishtar_common') diff --git a/ishtar_common/templates/404.html b/ishtar_common/templates/404.html index 82cdd0fb4..f2c57d496 100644 --- a/ishtar_common/templates/404.html +++ b/ishtar_common/templates/404.html @@ -1,8 +1,5 @@ -{% load i18n %} - - - +{% load i18n %} + {% block title %}Ishtar{% if APP_NAME %} - {{APP_NAME}}{%endif%}{% endblock %} diff --git a/ishtar_common/templates/500.html b/ishtar_common/templates/500.html new file mode 100644 index 000000000..dbe2278a7 --- /dev/null +++ b/ishtar_common/templates/500.html @@ -0,0 +1,17 @@ +{% load i18n %}<!doctype html> +<html lang="en"> +<head> + <link rel="shortcut icon" href="{{STATIC_URL}}/media/images/favicon.png"> + <title>{% block title %}Ishtar{% if APP_NAME %} - {{APP_NAME}}{%endif%}{% endblock %} + + + + +
+

{% trans "An error has occured. The support team has been warned." %}

+

{% trans "Back to main page" %}

+
+ + + + -- cgit v1.2.3