From 6821a0295643f3fa5ba24a44d361e6b8548973b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9o=20BARAS=20=28IUT1=20Grenoble=29?= Date: Sun, 25 Feb 2024 10:39:51 +0100 Subject: [PATCH] =?UTF-8?q?Fiche=20par=20=C3=A9tudiant?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/pe/pe_jury.py | 4 +- .../pe/pe_view_resultats_etudiant.j2 | 53 +++++++------------ 2 files changed, 23 insertions(+), 34 deletions(-) diff --git a/app/pe/pe_jury.py b/app/pe/pe_jury.py index 66c6cf60..5155457a 100644 --- a/app/pe/pe_jury.py +++ b/app/pe/pe_jury.py @@ -587,13 +587,15 @@ class JuryPE(object): tags = self._do_tags_list(self.interclasstags) + # Descripti + # Les données par UE moyennes = {} for tag in tags: moyennes[tag] = {} # Les données de synthèse df = self.synthese[(tag, pe_moytag.CODE_MOY_COMPETENCES)] - for aggregat in pe_rcs.TOUS_LES_RCS_AVEC_PLUSIEURS_SEM: + for aggregat in pe_rcs.TOUS_LES_RCS: moyennes[tag][aggregat] = {} for comp in competences + ["Général"]: moyennes[tag][aggregat][comp] = { diff --git a/app/templates/pe/pe_view_resultats_etudiant.j2 b/app/templates/pe/pe_view_resultats_etudiant.j2 index 49057aea..d746eca2 100644 --- a/app/templates/pe/pe_view_resultats_etudiant.j2 +++ b/app/templates/pe/pe_view_resultats_etudiant.j2 @@ -3,9 +3,10 @@ - PE de {{ nom }} }} - + PE de {{ nom }} + + +