2024-07-10 00:53:09 +02:00
|
|
|
{# Fragment de html pour cadre affichage validations d'une formation #}
|
|
|
|
|
|
|
|
<div class="sco_box sco_lightgreen_bg ue_list_etud_validations">
|
|
|
|
<div class="sco_box_title">{{titre_boite}}</div>
|
|
|
|
<div class="help">Liste de toutes les UEs validées par {{etud.html_link_fiche()|safe}},
|
|
|
|
sur des semestres ou déclarées comme "antérieures" (externes).
|
|
|
|
</div>
|
2024-09-12 14:34:34 +02:00
|
|
|
<div class="liste_validations">
|
2024-07-10 00:53:09 +02:00
|
|
|
{% for validation in validations %}
|
|
|
|
|
2024-09-12 14:34:34 +02:00
|
|
|
<div
|
2024-07-10 09:47:40 +02:00
|
|
|
{% if loop.index0 > 0 and validation.formsemestre and loop.previtem.formsemestre.semestre_id != validation.formsemestre.semestre_id %}
|
|
|
|
class="new_semestre"
|
2024-09-12 14:34:34 +02:00
|
|
|
data-ue_id="{{validation.ue.id}}"
|
2024-07-10 09:47:40 +02:00
|
|
|
{% endif %}
|
2024-09-12 14:34:34 +02:00
|
|
|
>
|
|
|
|
<details>
|
|
|
|
<summary>
|
2024-09-12 21:58:33 +02:00
|
|
|
{{ validation.html(detail=True) | safe }}
|
2024-09-12 14:34:34 +02:00
|
|
|
{% if edit_mode %}
|
|
|
|
{% if validation.formsemestre and validation.formsemestre.can_edit_jury() %}
|
|
|
|
<form class="inline-form">
|
|
|
|
<button data-v_id="{{validation.id}}" data-type="validation_ue" data-etudid="{{etud.id}}">
|
|
|
|
effacer
|
|
|
|
</button>
|
|
|
|
</form>
|
|
|
|
{% else %}
|
|
|
|
{{ scu.icontag("lock_img", border="0", title="Semestre verrouillé")|safe }}
|
|
|
|
{% endif %}
|
2024-07-10 00:53:09 +02:00
|
|
|
{% endif %}
|
2024-09-12 14:34:34 +02:00
|
|
|
</summary>
|
|
|
|
<div class="validation-details">
|
|
|
|
<b>UE {{validation.ue.acronyme}}</b> <tt>[{{validation.ue.ue_code}}]</tt> en
|
|
|
|
<a class="discretelink" href="{{
|
|
|
|
url_for('notes.ue_table', scodoc_dept=g.scodoc_dept,
|
|
|
|
formation_id=validation.ue.formation.id, semestre_idx=validation.ue.semestre_idx)
|
|
|
|
}}">{{validation.ue.formation.html()|safe}}</a>
|
|
|
|
{% if validation.ue.formation.is_apc() %}
|
|
|
|
<div>Compétence: {{validation.ue.niveau_competence}}</div>
|
|
|
|
<div>Référentiel :
|
|
|
|
{{ validation.ue.formation.referentiel_competence.get_title()
|
|
|
|
if validation.ue.formation.referentiel_competence else '<em>pas de référentiel</em>' }}
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
|
|
|
</details>
|
|
|
|
</div>
|
2024-07-10 00:53:09 +02:00
|
|
|
{% endfor %}
|
2024-09-12 14:34:34 +02:00
|
|
|
</div>
|
|
|
|
<div><a class="stdlink" href="#" onclick="open_all_details()">ouvrir tous les détails</a></div>
|
2024-07-10 00:53:09 +02:00
|
|
|
{% if total_ects %}
|
|
|
|
<div class="total_ects">
|
2024-09-12 14:34:34 +02:00
|
|
|
Total ECTS (toutes UEs, y compris redoublées): {{ "%g" % total_ects }}
|
2024-07-10 00:53:09 +02:00
|
|
|
</div>
|
|
|
|
{% endif %}
|
|
|
|
</div>
|