Merge pull request 'Ajout décisions UE' (#440) from lehmann/ScoDoc-Front:master into master

Reviewed-on: https://scodoc.org/git/ScoDoc/ScoDoc/pulls/440
This commit is contained in:
Emmanuel Viennet 2022-07-11 17:16:50 +02:00
commit 6a41469cb8

View File

@ -239,6 +239,20 @@ class releveBUT extends HTMLElement {
</div>
</div>`
}
if(data.semestre.decision_ue?.length){
output += `
<div>
<div class=enteteSemestre>UE</div><div></div>
${(()=>{
let output = "";
data.semestre.decision_ue.forEach(ue=>{
output += `<div class=competence>${ue.acronyme}</div><div>${ue.code}</div>`;
})
return output;
})()}
</div>
</div>`
}
output += `
<a class=photo href="${data.etudiant.fiche_url}">