ScoDoc-Lille/app/templates/sco_value_error.j2

31 lines
864 B
Django/Jinja

{# -*- mode: jinja-html -*- #}
{% extends 'base.j2' %}
{% block app_content %}
<h2>Erreur !</h2>
{% if exc.safe %}
{{ exc | safe }}
{% else %}
{{ exc }}
{% endif %}
<div style="margin-top: 16px;">
{% if g.scodoc_dept %}
<a class="stdlink" href="{{ exc.dest_url or url_for('scolar.index_html', scodoc_dept=g.scodoc_dept) }}">continuer</a>
{% elif exc.dest_url %}
<a class="stdlink" href="{{ exc.dest_url or url_for('scodoc.index') }}">continuer</a>
{% else %}
<a class="stdlink" href="{{ exc.dest_url or url_for('scodoc.index') }}">retour page d'accueil</a>
{% endif %}
</div>
<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 %}