Merge pull request 'Mise à jour de 'app/scodoc/sco_moduleimpl_status.py'' (#552) from pascal.bouron/ScoDoc:master into master

Reviewed-on: https://scodoc.org/git/ScoDoc/ScoDoc/pulls/552
This commit is contained in:
Emmanuel Viennet 2023-01-09 02:48:08 +01:00
commit 1764ab62a7

View File

@ -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 <b>notes en attente</b>)"
etat_descr = "il y a des notes en attente"
elif evaluation.publish_incomplete: