* 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
21 lines
809 B
HTML
21 lines
809 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_400.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 'question-circle' %}400</h1>
|
|
<h1 class="display-4">{% trans 'Request was invalid' %}</h1>
|
|
</div>
|
|
</div>
|
|
<hr>
|
|
<p class="lead">
|
|
{% trans 'There seems to be a problem with the link you opened.' %}
|
|
{% trans 'Make sure the URL is valid (no whitespaces, properly copied, ...).' %}
|
|
</p>
|
|
</div>
|
|
{% endblock %} |