Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Fix the templates of the error pages

Roland Geider2f6838ec0669
diff --git a/wger/manager/templates/403.html b/wger/manager/templates/403.html
index fe7adb62f..23143cce4 100644
--- a/wger/manager/templates/403.html
+++ b/wger/manager/templates/403.html
@@ -5,7 +5,5 @@
{% block title %}{% trans "Forbidden!" %}{% endblock %}
{% block content %}
-<h2>{% trans "Forbidden!" %}</h2>
-
<p>{% trans "Something happened that is not allowed." %}</p>
{% endblock %}
diff --git a/wger/manager/templates/404.html b/wger/manager/templates/404.html
index 7eb422a0c..607912cd7 100644
--- a/wger/manager/templates/404.html
+++ b/wger/manager/templates/404.html
@@ -5,7 +5,5 @@
{% block title %}{% trans "Page not found" %}{% endblock %}
{% block content %}
-<h2>{% trans "Page not found" %}</h2>
-
<p>{% trans "The page you requested does not exist." %}</p>
{% endblock %}
diff --git a/wger/manager/templates/500.html b/wger/manager/templates/500.html
index 0e6486a7a..b33d74d60 100644
--- a/wger/manager/templates/500.html
+++ b/wger/manager/templates/500.html
@@ -5,7 +5,5 @@
{% block title %}{% trans "An error occured" %}{% endblock %}
{% block content %}
-<h2>{% trans "An error occured" %}</h2>
-
<p>{% trans "Something happened that caused an error." %}</p>
{% endblock %}