From 8b97695f531ae39bae02f35325c01d6545ea1c58 Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Mon, 31 Oct 2022 23:06:56 +0100 Subject: [PATCH] minor fix --- app/scodoc/sco_edit_ue.py | 4 ++-- app/views/pn_modules.py | 2 +- sco_version.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/scodoc/sco_edit_ue.py b/app/scodoc/sco_edit_ue.py index 37806a00..33a40c06 100644 --- a/app/scodoc/sco_edit_ue.py +++ b/app/scodoc/sco_edit_ue.py @@ -307,8 +307,8 @@ def ue_edit(ue_id=None, create=False, formation_id=None, default_semestre_idx=No ("ue_id", {"input_type": "hidden"}), ("create", {"input_type": "hidden", "default": create}), ("formation_id", {"input_type": "hidden", "default": formation_id}), - ("titre", {"size": 30, "explanation": "nom de l'UE"}), - ("acronyme", {"size": 8, "explanation": "abbréviation", "allow_null": False}), + ("titre", {"size": 48, "explanation": "nom de l'UE"}), + ("acronyme", {"size": 12, "explanation": "abbréviation", "allow_null": False}), ( "numero", { diff --git a/app/views/pn_modules.py b/app/views/pn_modules.py index 0e48290a..feee40a7 100644 --- a/app/views/pn_modules.py +++ b/app/views/pn_modules.py @@ -131,7 +131,7 @@ def table_modules_ue_coefs(formation_id, semestre_idx=None, parcours_id: int = N and (ue.parcour_id is not None) and ue.parcour_id not in (p.id for p in mod.parcours) ): - cell_style += style + " champs_coef_hors_parcours" + cell_style = style + " champs_coef_hors_parcours" else: cell_style = style cells.append( diff --git a/sco_version.py b/sco_version.py index a4c2177c..05d50bb1 100644 --- a/sco_version.py +++ b/sco_version.py @@ -1,7 +1,7 @@ # -*- mode: python -*- # -*- coding: utf-8 -*- -SCOVERSION = "9.3.60" +SCOVERSION = "9.3.61" SCONAME = "ScoDoc"