From d869c3d938e8f27545e87e74e3f33f4f12bd4b50 Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Fri, 22 Sep 2023 22:53:35 +0200 Subject: [PATCH] cosmetic --- app/scodoc/sco_formsemestre_status.py | 8 ++++++-- app/templates/assiduites/widgets/differee.j2 | 3 ++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/app/scodoc/sco_formsemestre_status.py b/app/scodoc/sco_formsemestre_status.py index 1b46a0484e..3048172384 100755 --- a/app/scodoc/sco_formsemestre_status.py +++ b/app/scodoc/sco_formsemestre_status.py @@ -1044,7 +1044,7 @@ def formsemestre_status_head(formsemestre_id: int = None, page_title: str = None Le classement des étudiants n'a qu'une valeur indicative.""" ) if sem.bul_hide_xml: - warnings.append("""Bulletins non publiés sur le portail. """) + warnings.append("""Bulletins non publiés sur la passerelle.""") if sem.block_moyennes: warnings.append("Calcul des moyennes bloqué !") if sem.semestre_id >= 0 and not sem.est_sur_une_annee(): @@ -1243,7 +1243,11 @@ def formsemestre_tableau_modules( mod_descr = "Module " + (mod.titre or "") if mod.is_apc(): coef_descr = ", ".join( - [f"{ue.acronyme}: {co}" for ue, co in mod.ue_coefs_list()] + [ + f"{ue.acronyme}: {co}" + for ue, co in mod.ue_coefs_list() + if isinstance(co, float) and co > 0 + ] ) if coef_descr: mod_descr += " Coefs: " + coef_descr diff --git a/app/templates/assiduites/widgets/differee.j2 b/app/templates/assiduites/widgets/differee.j2 index 33e5356a3d..3496e9c9ed 100644 --- a/app/templates/assiduites/widgets/differee.j2 +++ b/app/templates/assiduites/widgets/differee.j2 @@ -101,7 +101,8 @@ } .td[assiduite_id='insc']::after { - content: "Etudiant non inscrit"; + content: "non inscrit au module"; + font-style: italic; } .sticky {