1
0
forked from ScoDoc/ScoDoc

Bul. HTML: desactive affichage min/max/moy du groupe (non calculé actuellement)

This commit is contained in:
Emmanuel Viennet 2022-11-01 16:05:05 +01:00 committed by iziram
parent 95100ed429
commit e435dd10db

View File

@ -219,8 +219,8 @@ class releveBUT extends HTMLElement {
<div>Moy. promo. :</div><div>${data.semestre.notes.moy}</div> <div>Moy. promo. :</div><div>${data.semestre.notes.moy}</div>
<div>Min. promo. :</div><div>${data.semestre.notes.min}</div> <div>Min. promo. :</div><div>${data.semestre.notes.min}</div>
</div> </div>
${(()=>{ ${(() => {
if(Object.keys(data.semestre.rang.groupes).length == 0){ if (Object.keys(data.semestre.rang.groupes).length == 0) {
return ""; return "";
} }
let output = ""; let output = "";
@ -228,10 +228,10 @@ class releveBUT extends HTMLElement {
output += `<div> output += `<div>
<div class=enteteSemestre>${data.semestre.groupes[0]?.group_name}</div><div></div> <div class=enteteSemestre>${data.semestre.groupes[0]?.group_name}</div><div></div>
<div class=rang>Rang :</div><div class=rang>${dataGroupe.value} / ${dataGroupe.total}</div> <div class=rang>Rang :</div><div class=rang>${dataGroupe.value} / ${dataGroupe.total}</div>
<div>Max. promo. :</div><div>${dataGroupe.max || "-"}</div>
<div>Moy. promo. :</div><div>${dataGroupe.moy || "-"}</div>
<div>Min. promo. :</div><div>${dataGroupe.min || "-"}</div>
</div>`; </div>`;
// <div>Max. promo. :</div><div>${dataGroupe.max || "-"}</div>
// <div>Moy. promo. :</div><div>${dataGroupe.moy || "-"}</div>
// <div>Min. promo. :</div><div>${dataGroupe.min || "-"}</div>
return output; return output;
})()} })()}
<div class=absencesRecap> <div class=absencesRecap>