From 8b2a5fe949ccf9c7f5e252243b2be8208c7b558e Mon Sep 17 00:00:00 2001 From: lehmann Date: Mon, 11 Jul 2022 17:02:17 +0200 Subject: [PATCH] =?UTF-8?q?Ajout=20d=C3=A9cisions=20UE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/static/js/releve-but.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/app/static/js/releve-but.js b/app/static/js/releve-but.js index 473bc797..085b8638 100644 --- a/app/static/js/releve-but.js +++ b/app/static/js/releve-but.js @@ -239,6 +239,20 @@ class releveBUT extends HTMLElement { ` } + if(data.semestre.decision_ue?.length){ + output += ` +
+
UE
+ ${(()=>{ + let output = ""; + data.semestre.decision_ue.forEach(ue=>{ + output += `
${ue.acronyme}
${ue.code}
`; + }) + return output; + })()} +
+ ` + } output += `