forked from ScoDoc/ScoDoc
Fix: affichage dans édition ECTS UEs par parcours
This commit is contained in:
parent
83218e39b6
commit
9067424f8f
@ -82,7 +82,7 @@ def html_edit_formation_apc(
|
|||||||
if None in ects:
|
if None in ects:
|
||||||
ects_by_sem[semestre_idx] = '<span class="missing_ue_ects">manquant</span>'
|
ects_by_sem[semestre_idx] = '<span class="missing_ue_ects">manquant</span>'
|
||||||
else:
|
else:
|
||||||
ects_by_sem[semestre_idx] = sum(ects)
|
ects_by_sem[semestre_idx] = f"{sum(ects):g}"
|
||||||
|
|
||||||
arrow_up, arrow_down, arrow_none = sco_groups.get_arrow_icons_tags()
|
arrow_up, arrow_down, arrow_none = sco_groups.get_arrow_icons_tags()
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
{% for semestre_idx in semestre_ids %}
|
{% for semestre_idx in semestre_ids %}
|
||||||
<div class="formation_list_ues">
|
<div class="formation_list_ues">
|
||||||
<div class="formation_list_ues_titre">Unités d'Enseignement
|
<div class="formation_list_ues_titre">Unités d'Enseignement
|
||||||
semestre {{semestre_idx}} - {{"%g"|format(ects_by_sem[semestre_idx]) | safe}} ECTS
|
semestre {{semestre_idx}} - {{ects_by_sem[semestre_idx] | safe}} ECTS
|
||||||
</div>
|
</div>
|
||||||
<div class="formation_list_ues_content">
|
<div class="formation_list_ues_content">
|
||||||
<ul class="apc_ue_list">
|
<ul class="apc_ue_list">
|
||||||
|
Loading…
Reference in New Issue
Block a user