From 41507ca2656d8dfebfa541fc1c65096330ac3f50 Mon Sep 17 00:00:00 2001
From: Emmanuel Viennet
Date: Sun, 8 Jan 2023 10:01:09 -0300
Subject: [PATCH] formsemestre_status: warning si toutes evals visibles
---
app/scodoc/sco_formsemestre_status.py | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/app/scodoc/sco_formsemestre_status.py b/app/scodoc/sco_formsemestre_status.py
index 76b135c3..7cd084fe 100644
--- a/app/scodoc/sco_formsemestre_status.py
+++ b/app/scodoc/sco_formsemestre_status.py
@@ -1086,6 +1086,11 @@ def formsemestre_status(formsemestre_id=None, check_parcours=True):
""",
]
+ if sco_preferences.get_preference("bul_show_all_evals", formsemestre_id):
+ H.append(
+ """Toutes évaluations (même incomplètes) visibles
"""
+ )
+
if nt.expr_diagnostics:
H.append(html_expr_diagnostic(nt.expr_diagnostics))