diff --git a/app/views/absences.py b/app/views/absences.py index f664333a..721c0736 100644 --- a/app/views/absences.py +++ b/app/views/absences.py @@ -922,9 +922,36 @@ def EtatAbsencesGr( h = groups_infos.groups_titles gr_tit = p + h - title = "État des absences %s" % gr_tit + title = f"État des absences {gr_tit}" if format == "xls" or format == "xml" or format == "json": columns_ids = ["etudid"] + columns_ids + # --- Formulaire choix dates début / fin + form_date = ( + f""" +
""" + + """ + + """ + ) tab = GenTable( columns_ids=columns_ids, rows=T, @@ -945,8 +972,9 @@ def EtatAbsencesGr( init_qtip=True, javascripts=["js/etud_info.js"], ), - html_title=html_sco_header.html_sem_header("%s" % title, with_page_header=False) - + "Période du %s au %s (nombre de demi-journées)
" % (debut, fin),
+ html_title=html_sco_header.html_sem_header(title, with_page_header=False)
+ + form_date,
+ # "
Période du %s au %s (nombre de demi-journées)
" % (debut, fin),
base_url="%s&formsemestre_id=%s&debut=%s&fin=%s"
% (groups_infos.base_url, formsemestre_id, debut, fin),
filename="etat_abs_"