Bulletins JS: sans option bul_show_all_evals + liens vers évaluations.

This commit is contained in:
Emmanuel Viennet 2021-12-12 08:44:05 +01:00
parent 77be33d046
commit 80b8956af5
3 changed files with 6 additions and 3 deletions

View File

@ -194,6 +194,11 @@ class ResultatsSemestreBUT:
"max": fmt_note(notes_ok.max()), "max": fmt_note(notes_ok.max()),
"moy": fmt_note(notes_ok.mean()), "moy": fmt_note(notes_ok.mean()),
}, },
"url": url_for(
"notes.evaluation_listenotes",
scodoc_dept=g.scodoc_dept,
evaluation_id=e.id,
),
} }
return d return d
@ -256,7 +261,6 @@ def bulletin_option_affichage(formsemestre):
"bul_show_ects", "bul_show_ects",
"bul_show_codemodules", "bul_show_codemodules",
"bul_show_matieres", "bul_show_matieres",
"bul_show_all_evals",
"bul_show_rangs", "bul_show_rangs",
"bul_show_ue_rangs", "bul_show_ue_rangs",
"bul_show_mod_rangs", "bul_show_mod_rangs",

View File

@ -79,7 +79,6 @@ section>div:nth-child(1){
/***********************/ /***********************/
.hide_abs .absences, .hide_abs .absences,
.hide_abs_modules .module>.absences, .hide_abs_modules .module>.absences,
.hide_all_evals .eval,
.hide_coef .synthese em, .hide_coef .synthese em,
.hide_coef .eval>em, .hide_coef .eval>em,
.hide_date_inscr .dateInscription, .hide_date_inscr .dateInscription,

View File

@ -192,7 +192,7 @@ function showEvaluations(data) {
evaluations.forEach(eval => { evaluations.forEach(eval => {
output += ` output += `
<div class=eval> <div class=eval>
<div>${eval.description}</div> <div><a href="${eval.url}">${eval.description}</a></div>
<div> <div>
${eval.note.value} ${eval.note.value}
<em>Coef. ${eval.coef}</em> <em>Coef. ${eval.coef}</em>