summaryrefslogtreecommitdiff
path: root/ishtar_common/templates/404.html
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2018-09-05 16:53:37 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2018-09-05 16:53:37 +0200
commitbae47cd466db12c627ea3ed3bdd4d8a84d2d0035 (patch)
tree578f40301cdccac82e349d0e35c5039ba65e00cf /ishtar_common/templates/404.html
parent7bcf2e24d8b8dd7034764a29795ad08a6b66bfea (diff)
downloadIshtar-bae47cd466db12c627ea3ed3bdd4d8a84d2d0035.tar.bz2
Ishtar-bae47cd466db12c627ea3ed3bdd4d8a84d2d0035.zip
Improve 500/400 eroor page
Diffstat (limited to 'ishtar_common/templates/404.html')
-rw-r--r--ishtar_common/templates/404.html20
1 files changed, 4 insertions, 16 deletions
diff --git a/ishtar_common/templates/404.html b/ishtar_common/templates/404.html
index f2c57d496..647c6df8c 100644
--- a/ishtar_common/templates/404.html
+++ b/ishtar_common/templates/404.html
@@ -1,17 +1,5 @@
-{% 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 "Page not found" %}</h3>
- <p><a href='/'>{% trans "Back to main page" %}</a></p>
-</div>
-</body>
-
-</html>
+{% extends "500.html" %}
+{% load i18n %}{% block content %}
+<h3>{% trans "Page not found" %}</h3>
+{% endblock %}