From f6dfa912d704e924ff2c985c8dcbeaee809b8f86 Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Sat, 6 Nov 2021 16:35:21 +0100 Subject: [PATCH] fix #159 --- app/scodoc/sco_evaluations.py | 13 +++++++------ app/scodoc/sco_liste_notes.py | 16 +++++++++------- app/scodoc/sco_moduleimpl_status.py | 2 +- 3 files changed, 17 insertions(+), 14 deletions(-) diff --git a/app/scodoc/sco_evaluations.py b/app/scodoc/sco_evaluations.py index 17ab9b938..0fba0b3c0 100644 --- a/app/scodoc/sco_evaluations.py +++ b/app/scodoc/sco_evaluations.py @@ -1078,12 +1078,13 @@ def evaluation_describe(evaluation_id="", edit_in_place=True): if E["jour"]: group_id = sco_groups.get_default_group(formsemestre_id) H.append( - '(absences ce jour)' - % ( - scu.ScoURL(), - group_id, - urllib.parse.quote(E["jour"], safe=""), - ) + f"""(absences ce jour)""" ) H.append( '

Coefficient dans le module: %s, notes sur %g ' diff --git a/app/scodoc/sco_liste_notes.py b/app/scodoc/sco_liste_notes.py index cee1a4c39..30bcab513 100644 --- a/app/scodoc/sco_liste_notes.py +++ b/app/scodoc/sco_liste_notes.py @@ -811,14 +811,16 @@ def evaluation_check_absences_html(evaluation_id, with_header=True, show_ok=True ) if linkabs: H.append( - 'signaler cette absence' - % ( - etud["etudid"], - urllib.parse.quote(E["jour"]), - urllib.parse.quote(E["jour"]), - demijournee, - E["moduleimpl_id"], + f"""signaler cette absence""" ) H.append("") H.append("") diff --git a/app/scodoc/sco_moduleimpl_status.py b/app/scodoc/sco_moduleimpl_status.py index 899b8778a..41dcfb689 100644 --- a/app/scodoc/sco_moduleimpl_status.py +++ b/app/scodoc/sco_moduleimpl_status.py @@ -136,7 +136,7 @@ def moduleimpl_evaluation_menu(evaluation_id, nbnotes=0): "title": "Absences ce jour", "endpoint": "absences.EtatAbsencesDate", "args": { - "date": urllib.parse.quote(E["jour"], safe=""), + "date": E["jour"], "group_ids": group_id, }, "enabled": E["jour"],