# 62 404 and 500
* adds custom 404 and 500 error handling views * adds/updates translations
This commit is contained in:
13
templates/404.html
Normal file
13
templates/404.html
Normal file
@@ -0,0 +1,13 @@
|
||||
{% extends 'public_base.html' %}
|
||||
{% load i18n fontawesome_5 %}
|
||||
|
||||
{% block body %}
|
||||
<div class="jumbotron">
|
||||
<h1 class="display-4">{% fa5_icon 'question-circle' %} 404</h1>
|
||||
<h1 class="display-4">{% trans 'Not found' %}</h1>
|
||||
<hr>
|
||||
<p class="lead">
|
||||
{% trans 'The requested data does not exist.' %}
|
||||
</p>
|
||||
</div>
|
||||
{% endblock %}
|
||||
13
templates/500.html
Normal file
13
templates/500.html
Normal file
@@ -0,0 +1,13 @@
|
||||
{% extends 'public_base.html' %}
|
||||
{% load i18n fontawesome_5 %}
|
||||
|
||||
{% block body %}
|
||||
<div class="jumbotron">
|
||||
<h1 class="display-4">{% fa5_icon 'fire-extinguisher' %} {% fa5_icon 'fire-alt' %} 500</h1>
|
||||
<h1 class="display-4">{% trans 'Server Error' %}</h1>
|
||||
<hr>
|
||||
<p class="lead">
|
||||
{% trans 'Something happened. We are working on it!' %}
|
||||
</p>
|
||||
</div>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user