1
0
forked from ScoDoc/ScoDoc
ScoDoc/app/templates/sco_value_error.j2

37 lines
992 B
Django/Jinja

{# -*- mode: jinja-html -*- #}
{% extends 'base.j2' %}
{% block app_content %}
<h2>Erreur !</h2>
{% if exc.safe %}
{{ exc | safe }}
{% else %}
{{ exc }}
{% endif %}
{% if exc.dest_url is not string or exc.dest_url|length > 0 %}
<div style="margin-top: 16px;">
{% if exc.dest_url %}
<a class="stdlink" href="{{ exc.dest_url or url_for('scodoc.index') }}">
{{exc.dest_label or 'continuer'}}
</a>
{% elif g.scodoc_dept %}
<a class="stdlink" href="{{
url_for('scolar.index_html', scodoc_dept=g.scodoc_dept)
}}">retour page département</a>
{% else %}
<a class="stdlink" href="{{ exc.dest_url or url_for('scodoc.index') }}">retour page d'accueil</a>
{% endif %}
</div>
{% endif %}
<p style="margin-top: 32px;" class="help">
Si le problème persiste, merci de contacter le support ScoDoc via
<a class="stdlink" noreferer href="{{scu.SCO_DISCORD_ASSISTANCE|safe}}">
{{scu.SCO_DISCORD_ASSISTANCE}}
</a>
</p>
{% endblock %}