diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-09-05 16:39:02 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-09-05 16:39:02 +0200 |
commit | 7bcf2e24d8b8dd7034764a29795ad08a6b66bfea (patch) | |
tree | 3a3dea110e628c3291fe63c51afa3566d2782a62 | |
parent | aa566cb172b55cb0040cb909146f6a6871000a69 (diff) | |
download | Ishtar-7bcf2e24d8b8dd7034764a29795ad08a6b66bfea.tar.bz2 Ishtar-7bcf2e24d8b8dd7034764a29795ad08a6b66bfea.zip |
500 page
-rw-r--r-- | ishtar_common/templates/404.html | 7 | ||||
-rw-r--r-- | ishtar_common/templates/500.html | 17 |
2 files changed, 19 insertions, 5 deletions
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 %} -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> - +{% 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 %} 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 %} + </title> + <link rel="stylesheet" href="{{STATIC_URL}}/media/style.css?ver={{VERSION}}" /> +</head> +<body> +<div> + <h3>{% trans "An error has occured. The support team has been warned." %}</h3> + <p><a href='/'>{% trans "Back to main page" %}</a></p> +</div> +</body> + +</html> + |