forked from ScoDoc/ScoDoc
Fix regression: inscriptions modules si pas de parcours
This commit is contained in:
parent
1693bb6c6c
commit
79d92dc9ac
@ -553,8 +553,11 @@ def _list_but_ue_inscriptions(res: NotesTableCompat, read_only: bool = True) ->
|
|||||||
>{etud.nomprenom}</a></td>"""
|
>{etud.nomprenom}</a></td>"""
|
||||||
)
|
)
|
||||||
# Parcours:
|
# Parcours:
|
||||||
|
if partition_parcours:
|
||||||
group = partition_parcours.get_etud_group(etud.id)
|
group = partition_parcours.get_etud_group(etud.id)
|
||||||
parcours_name = group.group_name if group else ""
|
parcours_name = group.group_name if group else ""
|
||||||
|
else:
|
||||||
|
parcours_name = ""
|
||||||
H.append(f"""<td class="parcours">{parcours_name}</td>""")
|
H.append(f"""<td class="parcours">{parcours_name}</td>""")
|
||||||
# UEs:
|
# UEs:
|
||||||
for ue in ues:
|
for ue in ues:
|
||||||
|
Loading…
Reference in New Issue
Block a user