From 581131f54fc21c2134bf1257a4c9d5e9bcf1246a Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Wed, 29 Jun 2022 14:42:52 +0200 Subject: [PATCH] Affichage code jury sem. sur table recap classic en mode jury. Close #409 --- app/comp/res_common.py | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/app/comp/res_common.py b/app/comp/res_common.py index 86230f06..0d06655c 100644 --- a/app/comp/res_common.py +++ b/app/comp/res_common.py @@ -651,6 +651,16 @@ class ResultatsSemestre(ResultatsCache): row["_ues_validables_class"] += " moy_inf" row["_ues_validables_order"] = nb_ues_validables # pour tri if modejury: + dec_sem = self.validations.decisions_jury.get(etudid) + jury_code_sem = dec_sem["code"] if dec_sem else "" + idx = add_cell( + row, + "jury_code_sem", + "Jury", + jury_code_sem, + "jury_code_sem", + 1000, + ) idx = add_cell( row, "jury_link", @@ -660,7 +670,7 @@ class ResultatsSemestre(ResultatsCache): ) }">saisir décision""", "col_jury_link", - 1000, + idx, ) rows.append(row)