From cee57234f215af904c4851efe34b410c303d0515 Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Tue, 19 Sep 2023 23:04:46 +0200 Subject: [PATCH] =?UTF-8?q?Vocabulaire:=20=C3=A9vite=20d'=C3=A9crire=20ass?= =?UTF-8?q?iduit=C3=A9s=20au=20pluriel=20(pas=20fran=C3=A7ais).?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/models/formsemestre.py | 2 +- app/scodoc/sco_groups_view.py | 4 ++-- app/scodoc/sco_preferences.py | 4 ++-- app/static/css/scodoc.css | 3 +++ app/static/js/assiduites.js | 4 ++++ .../assiduites/pages/ajout_justificatif.j2 | 2 +- app/templates/assiduites/pages/bilan_etud.j2 | 4 ++-- app/templates/assiduites/pages/calendrier.j2 | 18 +++++++-------- .../pages/signal_assiduites_diff.j2 | 14 ++++++------ .../pages/signal_assiduites_etud.j2 | 10 ++++----- app/views/assiduites.py | 22 +++++++++---------- 11 files changed, 47 insertions(+), 40 deletions(-) diff --git a/app/models/formsemestre.py b/app/models/formsemestre.py index 35385729..3f8f61f1 100644 --- a/app/models/formsemestre.py +++ b/app/models/formsemestre.py @@ -777,7 +777,7 @@ class FormSemestre(db.Model): """ partitions = [p for p in self.partitions if p.partition_name is not None] if with_default: - partitions += [p for p in partitions if p.partition_name is None] + partitions += [p for p in self.partitions if p.partition_name is None] return partitions @cached_property diff --git a/app/scodoc/sco_groups_view.py b/app/scodoc/sco_groups_view.py index 0eefe058..794c4ba3 100644 --- a/app/scodoc/sco_groups_view.py +++ b/app/scodoc/sco_groups_view.py @@ -825,7 +825,7 @@ def tab_absences_html(groups_infos, etat=None): H.extend( [ - "

Assiduités

", + "

Assiduité

", '", "

Feuilles

", '