From 1b037d6c7c75eca60d210a7897d9953840b8d84a Mon Sep 17 00:00:00 2001 From: Iziram Date: Fri, 1 Mar 2024 16:04:16 +0100 Subject: [PATCH 1/2] =?UTF-8?q?Assiduit=C3=A9=20:=20fix=20format=20nbabs?= =?UTF-8?q?=20sidebar?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/scodoc/html_sidebar.py | 2 +- app/templates/sidebar.j2 | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/scodoc/html_sidebar.py b/app/scodoc/html_sidebar.py index 2d351e628..008d366b9 100755 --- a/app/scodoc/html_sidebar.py +++ b/app/scodoc/html_sidebar.py @@ -185,7 +185,7 @@ def sidebar(etudid: int = None): formsemestre.date_fin.strftime("%d/%m/%Y") }">({ sco_preferences.get_preference("assi_metrique", None)}) -
{nbabsjust:1.0f} J., {nbabsnj:1.0f} N.J.""" +
{nbabsjust:1g} J., {nbabsnj:1g} N.J.""" ) H.append("