From f85039fb55b5c1a4448522985b25ebdb12c2fd14 Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Fri, 15 Dec 2023 03:48:15 +0100 Subject: [PATCH] cosmetic: table formsemestre_enseignants_list --- app/static/css/scodoc.css | 4 ++++ app/views/notes.py | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/app/static/css/scodoc.css b/app/static/css/scodoc.css index 8463d23a8..ed027f532 100644 --- a/app/static/css/scodoc.css +++ b/app/static/css/scodoc.css @@ -3916,6 +3916,10 @@ tr#tf_extue_ects > td { padding-left: 20px; } +table.formsemestre_enseignants_list tbody tr td.nbabsadded { + text-align: right; + padding-right: 1em; +} /* ----------------------------- */ div.form_rename_partition { diff --git a/app/views/notes.py b/app/views/notes.py index 10887e037..6fe80bd98 100644 --- a/app/views/notes.py +++ b/app/views/notes.py @@ -1331,7 +1331,8 @@ def formsemestre_enseignants_list(formsemestre_id, fmt="html"): }, rows=sem_ens_list, html_sortable=True, - html_class="table_leftalign", + html_class="table_leftalign formsemestre_enseignants_list", + html_with_td_classes=True, filename=scu.make_filename(f"Enseignants-{formsemestre.titre_annee()}"), html_title=html_sco_header.html_sem_header( "Enseignants du semestre", with_page_header=False