From 80b8956af5e4717943298ae5cc0c85864589744d Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Sun, 12 Dec 2021 08:44:05 +0100 Subject: [PATCH] =?UTF-8?q?Bulletins=20JS:=20sans=20option=20bul=5Fshow=5F?= =?UTF-8?q?all=5Fevals=20+=20liens=20vers=20=C3=A9valuations.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/but/bulletin_but.py | 6 +++++- app/static/css/bulletin-but.css | 1 - app/static/js/bulletin-but.js | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/app/but/bulletin_but.py b/app/but/bulletin_but.py index dd64ce966..c91932aee 100644 --- a/app/but/bulletin_but.py +++ b/app/but/bulletin_but.py @@ -194,6 +194,11 @@ class ResultatsSemestreBUT: "max": fmt_note(notes_ok.max()), "moy": fmt_note(notes_ok.mean()), }, + "url": url_for( + "notes.evaluation_listenotes", + scodoc_dept=g.scodoc_dept, + evaluation_id=e.id, + ), } return d @@ -256,7 +261,6 @@ def bulletin_option_affichage(formsemestre): "bul_show_ects", "bul_show_codemodules", "bul_show_matieres", - "bul_show_all_evals", "bul_show_rangs", "bul_show_ue_rangs", "bul_show_mod_rangs", diff --git a/app/static/css/bulletin-but.css b/app/static/css/bulletin-but.css index 07fe50e29..0ef83dd5e 100644 --- a/app/static/css/bulletin-but.css +++ b/app/static/css/bulletin-but.css @@ -79,7 +79,6 @@ section>div:nth-child(1){ /***********************/ .hide_abs .absences, .hide_abs_modules .module>.absences, -.hide_all_evals .eval, .hide_coef .synthese em, .hide_coef .eval>em, .hide_date_inscr .dateInscription, diff --git a/app/static/js/bulletin-but.js b/app/static/js/bulletin-but.js index 159a8ffe7..7e9c0ed05 100644 --- a/app/static/js/bulletin-but.js +++ b/app/static/js/bulletin-but.js @@ -192,7 +192,7 @@ function showEvaluations(data) { evaluations.forEach(eval => { output += `
-
${eval.description}
+
${eval.description}
${eval.note.value} Coef. ${eval.coef}