* adds proper handling in case of BadRequest (error 400) * enhances html template for error 500 * adds new html template for error 400 * adds uuid_required decorator to missing views * updates translations
20 lines
718 B
HTML
20 lines
718 B
HTML
{% extends 'public_base.html' %}
|
|
{% load i18n fontawesome_5 static %}
|
|
|
|
{% block body %}
|
|
<div class="jumbotron">
|
|
<div class="row">
|
|
<div class="col-auto">
|
|
<img src="{% static 'images/error_imgs/croc_technician_500.png' %}" style="max-width: 150px">
|
|
</div>
|
|
<div class="col-sm-12 col-md-9 col-lg-9 col-xl-10">
|
|
<h1 class="display-4">{% fa5_icon 'fire-alt' %} 500</h1>
|
|
<h1 class="display-4">{% trans 'Server Error' %}</h1>
|
|
</div>
|
|
</div>
|
|
<hr>
|
|
<p class="lead">
|
|
{% trans 'Something happened. Admins have been informed. We are working on it!' %}
|
|
</p>
|
|
</div>
|
|
{% endblock %} |