forked from ScoDoc/ScoDoc
Mise à jour des menus. Feuille prépa jury seulement pour non BUT.
This commit is contained in:
parent
21714bae59
commit
917070b169
@ -390,13 +390,6 @@ def formsemestre_status_menubar(formsemestre: FormSemestre) -> str:
|
|||||||
"endpoint": "notes.evaluations_recap",
|
"endpoint": "notes.evaluations_recap",
|
||||||
"args": {"formsemestre_id": formsemestre_id},
|
"args": {"formsemestre_id": formsemestre_id},
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"title": "Saisie des notes",
|
|
||||||
"endpoint": "notes.formsemestre_status",
|
|
||||||
"args": {"formsemestre_id": formsemestre_id},
|
|
||||||
"enabled": True,
|
|
||||||
"helpmsg": "Tableau de bord du semestre",
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"title": "Classeur PDF des bulletins",
|
"title": "Classeur PDF des bulletins",
|
||||||
"endpoint": "notes.formsemestre_bulletins_pdf_choice",
|
"endpoint": "notes.formsemestre_bulletins_pdf_choice",
|
||||||
@ -426,11 +419,6 @@ def formsemestre_status_menubar(formsemestre: FormSemestre) -> str:
|
|||||||
"endpoint": "notes.formsemestre_pvjury",
|
"endpoint": "notes.formsemestre_pvjury",
|
||||||
"args": {"formsemestre_id": formsemestre_id},
|
"args": {"formsemestre_id": formsemestre_id},
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"title": "Générer feuille préparation Jury",
|
|
||||||
"endpoint": "notes.feuille_preparation_jury",
|
|
||||||
"args": {"formsemestre_id": formsemestre_id},
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"title": "Saisie des décisions du jury",
|
"title": "Saisie des décisions du jury",
|
||||||
"endpoint": "notes.formsemestre_recapcomplet",
|
"endpoint": "notes.formsemestre_recapcomplet",
|
||||||
@ -440,6 +428,12 @@ def formsemestre_status_menubar(formsemestre: FormSemestre) -> str:
|
|||||||
},
|
},
|
||||||
"enabled": formsemestre.can_edit_jury(),
|
"enabled": formsemestre.can_edit_jury(),
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"title": "Générer feuille préparation Jury (non BUT)",
|
||||||
|
"endpoint": "notes.feuille_preparation_jury",
|
||||||
|
"args": {"formsemestre_id": formsemestre_id},
|
||||||
|
"enabled": not formsemestre.formation.is_apc(),
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"title": "Éditer les PV et archiver les résultats",
|
"title": "Éditer les PV et archiver les résultats",
|
||||||
"endpoint": "notes.formsemestre_archive",
|
"endpoint": "notes.formsemestre_archive",
|
||||||
|
@ -206,10 +206,11 @@ def pvjury_table(
|
|||||||
return lines, titles, columns_ids
|
return lines, titles, columns_ids
|
||||||
|
|
||||||
|
|
||||||
# XXX TODO cette page a vocation a disparaitre,
|
def formsemestre_pvjury(formsemestre_id, format="html", publish=True):
|
||||||
# remplacée par formsemestre_recapcomplet en mode jury (déjà le cas pour les BUT)
|
"""Page récapitulant les décisions de jury
|
||||||
def formsemestre_pvjury(formsemestre_id, format="html", publish=True): # XXX
|
En classique: table spécifique avec les deux semestres pour le DUT
|
||||||
"""Page récapitulant les décisions de jury"""
|
En APC/BUT: renvoie vers table recap, en mode jury.
|
||||||
|
"""
|
||||||
formsemestre = FormSemestre.query.get_or_404(formsemestre_id)
|
formsemestre = FormSemestre.query.get_or_404(formsemestre_id)
|
||||||
is_apc = formsemestre.formation.is_apc()
|
is_apc = formsemestre.formation.is_apc()
|
||||||
if format == "html" and is_apc:
|
if format == "html" and is_apc:
|
||||||
|
Loading…
Reference in New Issue
Block a user