Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Error pages use the base design

Roland Geider585c798d2fca
diff --git a/manager/templates/403.html b/manager/templates/403.html
new file mode 100644
index 000000000..2b7558ff9
--- /dev/null
+++ b/manager/templates/403.html
@@ -0,0 +1,11 @@
+{% extends "base.html" %}
+{% load i18n %}
+{% load staticfiles %}
+
+{% block title %}{% trans "Forbidden!" %}{% endblock %}
+
+{% block header %}
+<h2>{% trans "Forbidden!" %}</h2>
+
+<p>{% trans "Something happened that is not allowed." %}</p>
+{% endblock %}
diff --git a/manager/templates/404.html b/manager/templates/404.html
index 506d653a0..551d301d4 100644
--- a/manager/templates/404.html
+++ b/manager/templates/404.html
@@ -1 +1,11 @@
-404!!!
\ No newline at end of file
+{% extends "base.html" %}
+{% load i18n %}
+{% load staticfiles %}
+
+{% block title %}{% trans "Page not found" %}{% endblock %}
+
+{% block header %}
+<h2>{% trans "Page not found" %}</h2>
+
+<p>{% trans "The page you requested does not exist." %}</p>
+{% endblock %}
diff --git a/manager/templates/500.html b/manager/templates/500.html
new file mode 100644
index 000000000..3a2e048ca
--- /dev/null
+++ b/manager/templates/500.html
@@ -0,0 +1,11 @@
+{% extends "base.html" %}
+{% load i18n %}
+{% load staticfiles %}
+
+{% block title %}{% trans "An error occured" %}{% endblock %}
+
+{% block header %}
+<h2>{% trans "An error occured" %}</h2>
+
+<p>{% trans "Something happened that caused an error." %}</p>
+{% endblock %}