1
0
forked from ScoDoc/ScoDoc

formsemestre_status: warning si toutes evals visibles

This commit is contained in:
Emmanuel Viennet 2023-01-08 10:01:09 -03:00 committed by iziram
parent 9f6068caa2
commit 47b3eec14b

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))