ScoDoc/app/templates/sco_value_error.j2

37 lines
992 B
Plaintext
Raw Permalink Normal View History

2021-12-28 16:17:07 +01:00
{# -*- mode: jinja-html -*- #}
{% extends 'base.j2' %}
2021-07-28 08:12:57 +02:00
{% block app_content %}
<h2>Erreur !</h2>
{% if exc.safe %}
{{ exc | safe }}
{% else %}
{{ exc }}
{% endif %}
2021-07-28 08:12:57 +02:00
2024-08-23 19:01:10 +02:00
{% if exc.dest_url is not string or exc.dest_url|length > 0 %}
<div style="margin-top: 16px;">
2024-08-23 19:01:10 +02:00
{% 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>
2021-07-28 08:12:57 +02:00
{% else %}
<a class="stdlink" href="{{ exc.dest_url or url_for('scodoc.index') }}">retour page d'accueil</a>
2021-07-28 08:12:57 +02:00
{% endif %}
</div>
2024-08-23 19:01:10 +02:00
{% endif %}
2021-07-28 08:12:57 +02:00
<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>
2021-07-28 08:12:57 +02:00
{% endblock %}