From c8a042cc09adc88cde210ca378883e3f0cf5a86d Mon Sep 17 00:00:00 2001 From: Iziram Date: Tue, 11 Jun 2024 15:07:17 +0200 Subject: [PATCH] =?UTF-8?q?Assiduit=C3=A9=20:=20balise=20semestre=20notifi?= =?UTF-8?q?cation=20mail=20closes=20#896?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/scodoc/sco_abs_notification.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/scodoc/sco_abs_notification.py b/app/scodoc/sco_abs_notification.py index 54a645e38..0a63fc560 100644 --- a/app/scodoc/sco_abs_notification.py +++ b/app/scodoc/sco_abs_notification.py @@ -31,6 +31,7 @@ Il suffit d'appeler abs_notify() après chaque ajout d'absence. """ + import datetime from typing import Optional @@ -281,6 +282,9 @@ def abs_notification_message( "scolar.fiche_etud", scodoc_dept=g.scodoc_dept, etudid=etudid, _external=True ) + # Formsemestre concerné (ex: "BUT Informatique semestre 2") + values["semestre"] = formsemestre.titre_num() + template = prefs["abs_notification_mail_tmpl"] txt = "" if template: