diff --git a/app/scodoc/sco_evaluations.py b/app/scodoc/sco_evaluations.py index 17ab9b93..0fba0b3c 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( - '
' - % ( - scu.ScoURL(), - group_id, - urllib.parse.quote(E["jour"], safe=""), - ) + f""" """ ) 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 cee1a4c3..30bcab51 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 899b8778..41dcfb68 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"],