ScoDoc/app/templates/error_access_denied.j2

21 lines
501 B
Plaintext
Raw Normal View History

2021-12-28 16:17:07 +01:00
{# -*- mode: jinja-html -*- #}
{% extends 'base.j2' %}
2023-11-15 20:38:51 +01:00
{% import 'wtf.j2' as wtf %}
2021-10-10 21:09:53 +02:00
{% block app_content %}
<h2>Accès non autorisé</h2>
{{ exc | safe }}
<p class="footer">
{% if g.scodoc_dept %}
<a href="{{ exc.dest_url or url_for('scolar.index_html', scodoc_dept=g.scodoc_dept) }}">retour page d'accueil
departement {{ g.scodoc_dept }}</a>
{% else %}
<a href="{{ exc.dest_url or url_for('scodoc.index') }}">retour page d'accueil</a>
{% endif %}
</p>
2023-11-15 20:38:51 +01:00
{% endblock %}