1
0
forked from ScoDoc/ScoDoc

Fix: passage d'un semestre à l'autre sans décision de jury

This commit is contained in:
Emmanuel Viennet 2024-02-22 13:34:03 +01:00
parent 7c794c01d1
commit cc3f5d393f
2 changed files with 9 additions and 8 deletions

View File

@ -68,7 +68,7 @@ def _list_authorized_etuds_by_sem(
for src_formsemestre in src_sems:
if ignore_jury:
# liste de tous les inscrits au semestre (sans dems)
etud_list = list_inscrits(formsemestre.id).values()
etud_list = list_inscrits(src_formsemestre.id).values()
else:
# liste des étudiants autorisés par le jury à s'inscrire ici
etud_list = _list_etuds_from_sem(src_formsemestre, formsemestre)
@ -312,13 +312,14 @@ def formsemestre_inscr_passage(
# -- check lock
if not formsemestre.etat:
raise ScoValueError("opération impossible: semestre verrouille")
header = html_sco_header.sco_header(
H = [
html_sco_header.sco_header(
page_title="Passage des étudiants",
init_qtip=True,
javascripts=["js/etud_info.js"],
)
]
footer = html_sco_header.sco_footer()
H = [header]
etuds = [] if etuds is None else etuds
if isinstance(etuds, str):
# string, vient du form de confirmation

View File

@ -1,7 +1,7 @@
# -*- mode: python -*-
# -*- coding: utf-8 -*-
SCOVERSION = "9.6.941"
SCOVERSION = "9.6.942"
SCONAME = "ScoDoc"