From 97b5ab81792975a4ebff160bef9a4cf40c18ce45 Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Wed, 6 Jul 2022 00:19:02 +0200 Subject: [PATCH] Page saisie jury: affiche version classique ou BUT --- app/views/notes.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/app/views/notes.py b/app/views/notes.py index a5e50d3ee..c1715c927 100644 --- a/app/views/notes.py +++ b/app/views/notes.py @@ -2143,6 +2143,16 @@ def formsemestre_validation_etud_form( ): "Formulaire choix jury pour un étudiant" readonly = not sco_permissions_check.can_validate_sem(formsemestre_id) + formsemestre = FormSemestre.query.get_or_404(formsemestre_id) + if formsemestre.formation.is_apc(): + return redirect( + url_for( + "notes.formsemestre_validation_but", + scodoc_dept=g.scodoc_dept, + formsemestre_id=formsemestre_id, + etudid=etudid, + ) + ) return sco_formsemestre_validation.formsemestre_validation_etud_form( formsemestre_id, etudid=etudid,