2021-10-28 13:24:34 +00:00
|
|
|
{% extends theme('base.html') %}
|
2020-08-19 14:20:57 +00:00
|
|
|
|
|
|
|
{% block content %}
|
2021-12-20 22:57:27 +00:00
|
|
|
<div class="ui error icon message">
|
|
|
|
{% if icon and (debug or (user and user.can_manage_oidc)) %}
|
|
|
|
<i class="{{ icon }} icon"></i>
|
2021-12-06 23:38:08 +00:00
|
|
|
{% elif error == 400 %}
|
2021-12-20 22:57:27 +00:00
|
|
|
<i class="question icon"></i>
|
2021-12-06 23:12:06 +00:00
|
|
|
{% elif error == 403 %}
|
2021-12-20 22:57:27 +00:00
|
|
|
<i class="hand paper icon"></i>
|
2021-12-06 23:12:06 +00:00
|
|
|
{% elif error == 404 %}
|
2021-12-20 22:57:27 +00:00
|
|
|
<i class="compass icon"></i>
|
2021-12-06 20:49:38 +00:00
|
|
|
{% elif error == 500 %}
|
2021-12-20 22:57:27 +00:00
|
|
|
<i class="bug icon"></i>
|
2021-12-06 20:49:38 +00:00
|
|
|
{% endif %}
|
2021-12-20 22:57:27 +00:00
|
|
|
<div class="content">
|
|
|
|
<div class="header">
|
|
|
|
{% if error == 400 %}
|
|
|
|
{% trans %}Bad request{% endtrans %}
|
|
|
|
{% elif error == 403 %}
|
|
|
|
{% trans %}Unauthorized{% endtrans %}
|
|
|
|
{% elif error == 404 %}
|
|
|
|
{% trans %}Page not found{% endtrans %}
|
|
|
|
{% elif error == 500 %}
|
|
|
|
{% trans %}Technical problem{% endtrans %}
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
|
|
|
{% if description and (debug or (user and user.can_manage_oidc)) %}
|
|
|
|
<p>{{ description }}</p>
|
|
|
|
{% elif error == 400 %}
|
|
|
|
<p>{% trans %}The request you made is invalid{% endtrans %}</p>
|
|
|
|
{% elif error == 403 %}
|
|
|
|
<p>{% trans %}You do not have the authorizations to access this page{% endtrans %}</p>
|
|
|
|
{% elif error == 404 %}
|
|
|
|
<p>{% trans %}The page you are looking for does not exist{% endtrans %}</p>
|
|
|
|
{% elif error == 500 %}
|
|
|
|
<p>{% trans %}Please contact your administrator{% endtrans %}</p>
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
2021-12-06 20:49:38 +00:00
|
|
|
</div>
|
2020-08-19 14:20:57 +00:00
|
|
|
{% endblock %}
|