From c29470e7f896cc2d2f7fe9f13f1a52cd93918ea5 Mon Sep 17 00:00:00 2001 From: "pascal.bouron" Date: Mon, 9 Jan 2023 00:09:18 +0100 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20'app/scodoc/sco=5Fm?= =?UTF-8?q?oduleimpl=5Fstatus.py'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Correction PR#551 qui ne traitait pas le cas des évaluations incompletes lorsque evaluation.publish_incomplete --- app/scodoc/sco_moduleimpl_status.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/scodoc/sco_moduleimpl_status.py b/app/scodoc/sco_moduleimpl_status.py index 68d3aa89f..d0fdd05b3 100644 --- a/app/scodoc/sco_moduleimpl_status.py +++ b/app/scodoc/sco_moduleimpl_status.py @@ -629,7 +629,7 @@ def _ligne_evaluation( if etat["evalcomplete"]: etat_txt = """(prise en compte)""" etat_descr = "notes utilisées dans les moyennes" - elif etat["evalattente"]: + elif etat["evalattente"] and not evaluation.publish_incomplete: etat_txt = "(prise en compte, mais notes en attente)" etat_descr = "il y a des notes en attente" elif evaluation.publish_incomplete: