From 6b0a65b0904f339c2d9f61aeca0a5fb2899793db Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Tue, 1 Nov 2022 16:05:05 +0100 Subject: [PATCH] =?UTF-8?q?Bul.=20HTML:=20desactive=20affichage=20min/max/?= =?UTF-8?q?moy=20du=20groupe=20(non=20calcul=C3=A9=20actuellement)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/static/js/releve-but.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/static/js/releve-but.js b/app/static/js/releve-but.js index 2298e604c..1e8a4a332 100644 --- a/app/static/js/releve-but.js +++ b/app/static/js/releve-but.js @@ -219,8 +219,8 @@ class releveBUT extends HTMLElement {
Moy. promo. :
${data.semestre.notes.moy}
Min. promo. :
${data.semestre.notes.min}
- ${(()=>{ - if(Object.keys(data.semestre.rang.groupes).length == 0){ + ${(() => { + if (Object.keys(data.semestre.rang.groupes).length == 0) { return ""; } let output = ""; @@ -228,10 +228,10 @@ class releveBUT extends HTMLElement { output += `
${data.semestre.groupes[0]?.group_name}
Rang :
${dataGroupe.value} / ${dataGroupe.total}
-
Max. promo. :
${dataGroupe.max || "-"}
-
Moy. promo. :
${dataGroupe.moy || "-"}
-
Min. promo. :
${dataGroupe.min || "-"}
`; + //
Max. promo. :
${dataGroupe.max || "-"}
+ //
Moy. promo. :
${dataGroupe.moy || "-"}
+ //
Min. promo. :
${dataGroupe.min || "-"}
return output; })()}