2023-11-24 13:58:03 +01:00
|
|
|
{% extends "sco_page.j2" %}
|
|
|
|
|
|
|
|
{% block scripts %}
|
|
|
|
{{ super() }}
|
|
|
|
<script src="{{scu.STATIC_DIR}}/js/etud_info.js"></script>
|
|
|
|
<script src="{{scu.STATIC_DIR}}/js/date_utils.js"></script>
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block app_content %}
|
|
|
|
|
|
|
|
{% if action == "modifier" %}
|
2023-12-06 14:42:10 +01:00
|
|
|
{% include "assiduites/widgets/tableau_actions/modifier.j2" %}
|
2024-01-21 18:07:56 +01:00
|
|
|
{% else %}
|
2023-12-06 14:42:10 +01:00
|
|
|
{% include "assiduites/widgets/tableau_actions/details.j2" %}
|
2023-11-24 13:58:03 +01:00
|
|
|
{% endif %}
|
|
|
|
|
2024-01-21 18:07:56 +01:00
|
|
|
{% if not current_user.has_permission(sco.Permission.AbsJustifView) %}
|
2023-12-11 15:24:55 +01:00
|
|
|
<div class="help fontred" style="margin-top: 16px;">
|
|
|
|
Vous n'avez pas la permission d'ouvrir les fichiers justificatifs
|
|
|
|
déposés par d'autres personnes.
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
<div style="margin-top: 32px;">
|
2024-01-21 18:07:56 +01:00
|
|
|
<a class="stdlink" href="" id="lien-retour">retour</a>
|
2023-12-11 15:24:55 +01:00
|
|
|
</div>
|
2023-11-24 13:58:03 +01:00
|
|
|
<script>
|
|
|
|
window.addEventListener('load', () => {
|
|
|
|
document.getElementById("lien-retour").href = document.referrer;
|
|
|
|
})
|
|
|
|
</script>
|
|
|
|
|
2023-12-06 14:42:10 +01:00
|
|
|
{% endblock %}
|