From 3680325e0d0a6c9976ded94c14f992a25dcc67ef Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Tue, 20 Jul 2021 07:53:05 +0300 Subject: [PATCH] fix link --- app/scodoc/sco_moduleimpl_status.py | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/app/scodoc/sco_moduleimpl_status.py b/app/scodoc/sco_moduleimpl_status.py index c51cb1bcf..e1809ac3f 100644 --- a/app/scodoc/sco_moduleimpl_status.py +++ b/app/scodoc/sco_moduleimpl_status.py @@ -30,6 +30,8 @@ import time import six.moves.urllib.request, six.moves.urllib.parse, six.moves.urllib.error +from flask import g, url_for + import app.scodoc.sco_utils as scu from app.scodoc.sco_permissions import Permission @@ -287,8 +289,13 @@ def moduleimpl_status(context, moduleimpl_id=None, partition_id=None, REQUEST=No datelundi = sco_abs.ddmmyyyy(time.strftime("%d/%m/%Y")).prev_monday() group_id = sco_groups.get_default_group(context, formsemestre_id) H.append( - 'Saisie Absences hebdo.' - % (formsemestre_id, moduleimpl_id, datelundi, group_id) + f""" + + Saisie Absences hebdo. + """ ) H.append("")