Update opolka/ScoDoc from ScoDoc/ScoDoc #2

Merged
opolka merged 1272 commits from ScoDoc/ScoDoc:master into master 2024-05-27 09:11:04 +02:00
2 changed files with 9 additions and 8 deletions
Showing only changes of commit cc3f5d393f - Show all commits

View File

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

View File

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