From 8e56dc2418f33acacd4a8c20a35e58b29c605d88 Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Tue, 21 May 2024 20:37:40 +0200 Subject: [PATCH] =?UTF-8?q?Formulaire=20=C3=A9valuation:=20interdit=20de?= =?UTF-8?q?=20d=C3=A9finir=20des=20=C3=A9valuations=20non=20normales=20imm?= =?UTF-8?q?=C3=A9diates?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/scodoc/sco_evaluation_edit.py | 3 +++ app/templates/scodoc/forms/evaluation_edit.j2 | 22 +++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 app/templates/scodoc/forms/evaluation_edit.j2 diff --git a/app/scodoc/sco_evaluation_edit.py b/app/scodoc/sco_evaluation_edit.py index 3d78a45a4..251e75c23 100644 --- a/app/scodoc/sco_evaluation_edit.py +++ b/app/scodoc/sco_evaluation_edit.py @@ -367,6 +367,9 @@ def evaluation_create_form( + "\n".join(H) + "\n" + tf[1] + + render_template( + "scodoc/forms/evaluation_edit.j2", + ) + render_template( "scodoc/help/evaluations.j2", is_apc=is_apc, modimpl=modimpl ) diff --git a/app/templates/scodoc/forms/evaluation_edit.j2 b/app/templates/scodoc/forms/evaluation_edit.j2 new file mode 100644 index 000000000..4e144ef75 --- /dev/null +++ b/app/templates/scodoc/forms/evaluation_edit.j2 @@ -0,0 +1,22 @@ +{# Interdit de définir des évaluations non normales "immédiates" #} + \ No newline at end of file