ScoDoc-Lille/app/templates/but/cursus_etud.j2

39 lines
1.6 KiB
Plaintext
Raw Normal View History

{# Affichage cursus BUT fiche étudiant #}
<div class="cursus_but">
<div class="cb_head">{{cursus.get_ects_acquis()}} ECTS</div>
<div class="cb_head">BUT 1</div>
<div class="cb_head">BUT 2</div>
<div class="cb_head">BUT 3</div>
{% for competence_id in cursus.to_dict() %}
<div class="cb_titre_competence">{{ cursus.competences[competence_id].titre }}</div>
{% for annee in ('BUT1', 'BUT2', 'BUT3') %}
{% set validation = cursus.validation_par_competence_et_annee.get(competence_id, {}).get(annee) %}
{% set has_niveau = cursus.competence_annee_has_niveau(competence_id, annee) %}
<div class="{{ '' if has_niveau else 'no_niveau' }}">
{% if validation %}
<div class="code_rcue with_scoplement">
<div class="code_jury">{{validation.code}}</div>
<div class="scoplement">
<div>{{validation.ue1.acronyme}} - {{validation.ue2.acronyme}}</div>
2023-06-18 09:37:13 +02:00
<div>Jury de {{validation.formsemestre.titre_annee() if validation.formsemestre else "-"}}</div>
<div>enregistré le {{
validation.date.strftime(scu.DATEATIME_FMT)
}}</div>
</div>
</div>
{% else %}
2023-06-18 09:37:13 +02:00
<div class="code_rcue">
<div class="code_jury">{{'-' if has_niveau else ''}}</div>
2023-06-18 09:37:13 +02:00
</div>
{%endif%}
</div>
{% endfor %}
{% endfor %}
{% if validation_dut120_html %}
<div class="validation_dut120"
title="DUT en 120 ECTS dans un BUT">
{{validation_dut120_html | safe }}
</div>
{% endif %}
</div>