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