forked from ScoDoc/ScoDoc
Fix title on archived PVs
This commit is contained in:
parent
861c3ad6ca
commit
995b904164
@ -259,6 +259,7 @@ def do_formsemestre_archive(
|
||||
numeroArrete=None,
|
||||
VDICode=None,
|
||||
showTitle=False,
|
||||
pv_title=None,
|
||||
with_paragraph_nom=False,
|
||||
anonymous=False,
|
||||
bulVersion="long",
|
||||
@ -280,13 +281,13 @@ def do_formsemestre_archive(
|
||||
etudids = [m["etudid"] for m in groups_infos.members]
|
||||
|
||||
# Tableau recap notes en XLS (pour tous les etudiants, n'utilise pas les groupes)
|
||||
data, filename, format = make_formsemestre_recapcomplet(
|
||||
data, _, _ = make_formsemestre_recapcomplet(
|
||||
context, REQUEST, formsemestre_id, format="xls"
|
||||
)
|
||||
if data:
|
||||
PVArchive.store(archive_id, "Tableau_moyennes.xls", data)
|
||||
# Tableau recap notes en HTML (pour tous les etudiants, n'utilise pas les groupes)
|
||||
data, filename, format = make_formsemestre_recapcomplet(
|
||||
data, _, _ = make_formsemestre_recapcomplet(
|
||||
context, REQUEST, formsemestre_id, format="html", disable_etudlink=True
|
||||
)
|
||||
if data:
|
||||
@ -307,7 +308,7 @@ def do_formsemestre_archive(
|
||||
PVArchive.store(archive_id, "Tableau_moyennes.html", data)
|
||||
|
||||
# Bulletins en XML (pour tous les etudiants, n'utilise pas les groupes)
|
||||
data, filename, format = make_formsemestre_recapcomplet(
|
||||
data, _, _ = make_formsemestre_recapcomplet(
|
||||
context, REQUEST, formsemestre_id, format="xml", xml_with_decisions=True
|
||||
)
|
||||
if data:
|
||||
@ -348,6 +349,7 @@ def do_formsemestre_archive(
|
||||
numeroArrete=numeroArrete,
|
||||
VDICode=VDICode,
|
||||
showTitle=showTitle,
|
||||
pv_title=pv_title,
|
||||
with_paragraph_nom=with_paragraph_nom,
|
||||
anonymous=anonymous,
|
||||
)
|
||||
@ -467,6 +469,7 @@ enregistrés et non modifiables, on peut les retrouver ultérieurement.
|
||||
signature=signature,
|
||||
numeroArrete=tf[2]["numeroArrete"],
|
||||
VDICode=tf[2]["VDICode"],
|
||||
pv_title=tf[2]["pv_title"],
|
||||
showTitle=tf[2]["showTitle"],
|
||||
with_paragraph_nom=tf[2]["with_paragraph_nom"],
|
||||
anonymous=tf[2]["anonymous"],
|
||||
|
Loading…
Reference in New Issue
Block a user