forked from Github-Mirrors/canaille
29 lines
981 B
HTML
29 lines
981 B
HTML
{% extends theme('base.html') %}
|
|
|
|
{% block content %}
|
|
<div class="ui error icon message">
|
|
{% if icon and (debug or (user and user.can_manage_oidc)) %}
|
|
<i class="{{ icon }} icon"></i>
|
|
{% elif error == 500 %}
|
|
<i class="bug icon"></i>
|
|
{% endif %}
|
|
<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 == 500 %}
|
|
<p>Please contact your administrator</p>
|
|
{% endif %}
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|