diff --git a/app/scodoc/sco_edt_cal.py b/app/scodoc/sco_edt_cal.py index cd4601408..ee50e2dd7 100644 --- a/app/scodoc/sco_edt_cal.py +++ b/app/scodoc/sco_edt_cal.py @@ -33,7 +33,7 @@ XXX usage uniquement experimental pour tests implémentations import re import icalendar -from flask import flash +from flask import flash, g, url_for from app import log from app.models import FormSemestre, GroupDescr, ModuleImpl, ScoDocSiteConfig import app.scodoc.sco_utils as scu @@ -126,15 +126,30 @@ def formsemestre_edt_dict(formsemestre: FormSemestre) -> list[dict]: edt_module = extract_event_module(event) modimpl: ModuleImpl = edt2modimpl.get(edt_module, None) mod_disp = ( - f"""