formsemestre_status: warning si toutes evals visibles

This commit is contained in:
Emmanuel Viennet 2023-01-08 10:01:09 -03:00
parent 611d32b369
commit 41507ca265

View File

@ -1086,6 +1086,11 @@ def formsemestre_status(formsemestre_id=None, check_parcours=True):
</p>""",
]
if sco_preferences.get_preference("bul_show_all_evals", formsemestre_id):
H.append(
"""<div class="formsemestre_status_warning">Toutes évaluations (même incomplètes) visibles</div>"""
)
if nt.expr_diagnostics:
H.append(html_expr_diagnostic(nt.expr_diagnostics))