From 981f2c0e468f0c47ce8e3b3d1eaeecd7b8ba8e54 Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Sun, 7 Nov 2021 10:00:50 +0100 Subject: [PATCH] SignaleAbsenceGrSemestre : cosmetic --- app/static/css/scodoc.css | 5 ++++- app/views/absences.py | 7 +++++-- sco_version.py | 2 +- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/app/static/css/scodoc.css b/app/static/css/scodoc.css index 9bb52b1a..25cb3ab9 100644 --- a/app/static/css/scodoc.css +++ b/app/static/css/scodoc.css @@ -1930,7 +1930,10 @@ td.present { span.capstr { color: red; } - +b.etuddem { + font-weight: normal; + font-style: italic; +} tr.row_1 { background-color: white; diff --git a/app/views/absences.py b/app/views/absences.py index 3d5caa17..9af208ef 100644 --- a/app/views/absences.py +++ b/app/views/absences.py @@ -723,6 +723,7 @@ def _gen_form_saisie_groupe( for etud in etuds: i += 1 etudid = etud["etudid"] + etud_class = "etudinfo" # css # UE capitalisee dans semestre courant ? cap = [] if etud["cursem"]: @@ -738,14 +739,16 @@ def _gen_form_saisie_groupe( else: capstr = "" if etud["etatincursem"] == "D": - capstr += ' (dém.)' + capstr += ' (dém.)' + etud_class += " etuddem" tr_class = ("row_1", "row_2", "row_3")[i % 3] td_matin_class = ("matin_1", "matin_2", "matin_3")[i % 3] H.append( - '%s%s' + '%s%s' % ( tr_class, + etud_class, etudid, url_for("scolar.ficheEtud", scodoc_dept=g.scodoc_dept, etudid=etudid), etud["nomprenom"], diff --git a/sco_version.py b/sco_version.py index 3d6c7948..56f9121a 100644 --- a/sco_version.py +++ b/sco_version.py @@ -1,7 +1,7 @@ # -*- mode: python -*- # -*- coding: utf-8 -*- -SCOVERSION = "9.0.60" +SCOVERSION = "9.0.61" SCONAME = "ScoDoc"