diff --git a/note_kfet/templates/400.html b/note_kfet/templates/400.html index 35606525..89d7ba85 100644 --- a/note_kfet/templates/400.html +++ b/note_kfet/templates/400.html @@ -1,8 +1,22 @@ {% extends "base.html" %} - +{% comment %} +SPDX-License-Identifier: GPL-3.0-or-later +{% endcomment %} {% load i18n %} {% block content %} -

{% trans "Bad request" %}

- {% blocktrans %}Sorry, your request was bad. Don't know what could be wrong. An email has been sent to webmasters with the details of the error. You can now drink a coke.{% endblocktrans %} +
+

+ {% trans "Bad request" %} +

+
+

+ {% blocktrans trimmed %} + Sorry, your request was bad. Don't know what could be wrong. + An email has been sent to webmasters with the details of the error. + You can now drink a coke. + {% endblocktrans %} +

+
+
{% endblock %} \ No newline at end of file diff --git a/note_kfet/templates/403.html b/note_kfet/templates/403.html index 317865f2..5256e32d 100644 --- a/note_kfet/templates/403.html +++ b/note_kfet/templates/403.html @@ -1,13 +1,19 @@ {% extends "base.html" %} - +{% comment %} +SPDX-License-Identifier: GPL-3.0-or-later +{% endcomment %} {% load i18n %} {% block content %} -

{% trans "Permission denied" %}

- {% blocktrans %}You don't have the right to perform this request.{% endblocktrans %} - {% if exception %} -
- {% trans "Exception message:" %} {{ exception }} -
- {% endif %} +
+

+ {% trans "Permission denied" %} +

+
+

{% blocktrans %}You don't have the right to perform this request.{% endblocktrans %}

+ {% if exception %} +

{% trans "Exception message:" %} {{ exception }}

+ {% endif %} +
+
{% endblock %} \ No newline at end of file diff --git a/note_kfet/templates/404.html b/note_kfet/templates/404.html index 8477f914..03b81658 100644 --- a/note_kfet/templates/404.html +++ b/note_kfet/templates/404.html @@ -1,13 +1,23 @@ {% extends "base.html" %} - +{% comment %} +SPDX-License-Identifier: GPL-3.0-or-later +{% endcomment %} {% load i18n %} {% block content %} -

{% trans "Page not found" %}

- {% blocktrans %}The requested path {{ request_path }} was not found on the server.{% endblocktrans %} - {% if exception != "Resolver404" %} -
- {% trans "Exception message:" %} {{ exception }} -
- {% endif %} +
+

+ {% trans "Page not found" %} +

+
+

+ {% blocktrans trimmed %} + The requested path {{ request_path }} was not found on the server. + {% endblocktrans %} +

+ {% if exception != "Resolver404" %} +

{% trans "Exception message:" %} {{ exception }}

+ {% endif %} +
+
{% endblock %} \ No newline at end of file diff --git a/note_kfet/templates/500.html b/note_kfet/templates/500.html index 50b62bc2..fb7d1c69 100644 --- a/note_kfet/templates/500.html +++ b/note_kfet/templates/500.html @@ -1,8 +1,22 @@ {% extends "base.html" %} - +{% comment %} +SPDX-License-Identifier: GPL-3.0-or-later +{% endcomment %} {% load i18n %} {% block content %} -

{% trans "Server error" %}

- {% blocktrans %}Sorry, an error occurred when processing your request. An email has been sent to webmasters with the detail of the error, and this will be fixed soon. You can now drink a beer.{% endblocktrans %} +
+

+ {% trans "Server error" %} +

+
+

+ {% blocktrans trimmed %} + Sorry, an error occurred when processing your request. + An email has been sent to webmasters with the detail of the error, + and this will be fixed soon. You can now drink a beer. + {% endblocktrans %} +

+
+
{% endblock %} \ No newline at end of file