Menu groupes: met en avant l'éditeur de partition
This commit is contained in:
parent
cc977da44e
commit
08c536e777
@ -338,7 +338,16 @@ def formsemestre_status_menubar(formsemestre: FormSemestre) -> str:
|
||||
"helpmsg": "Accès aux listes des groupes d'étudiants",
|
||||
},
|
||||
{
|
||||
"title": "Créer/modifier les partitions...",
|
||||
"title": "Modifier groupes et partitions",
|
||||
"endpoint": "scolar.partition_editor",
|
||||
"args": {"formsemestre_id": formsemestre_id},
|
||||
"enabled": sco_groups.sco_permissions_check.can_change_groups(
|
||||
formsemestre_id
|
||||
),
|
||||
"helpmsg": "Editeur de partitions",
|
||||
},
|
||||
{
|
||||
"title": "Ancienne page édition partitions",
|
||||
"endpoint": "scolar.edit_partition_form",
|
||||
"args": {"formsemestre_id": formsemestre_id},
|
||||
"enabled": sco_groups.sco_permissions_check.can_change_groups(
|
||||
@ -362,19 +371,12 @@ def formsemestre_status_menubar(formsemestre: FormSemestre) -> str:
|
||||
"enabled": enabled,
|
||||
}
|
||||
)
|
||||
menu_groupes.append(
|
||||
{"title": "Modifier les groupes", "submenu": submenu, "enabled": enabled}
|
||||
)
|
||||
menu_groupes.append(
|
||||
{
|
||||
"title": "Expérimental: éditeur de partitions",
|
||||
"endpoint": "scolar.partition_editor",
|
||||
"args": {"formsemestre_id": formsemestre_id},
|
||||
"enabled": sco_groups.sco_permissions_check.can_change_groups(
|
||||
formsemestre_id
|
||||
),
|
||||
"helpmsg": "Une spécialité de Mulhouse",
|
||||
},
|
||||
"title": "Ancienne page édition groupes",
|
||||
"submenu": submenu,
|
||||
"enabled": enabled,
|
||||
}
|
||||
)
|
||||
|
||||
menu_notes = [
|
||||
|
Loading…
Reference in New Issue
Block a user