diff --git a/app/but/bulletin_but.py b/app/but/bulletin_but.py index ab4227b0d2a664415cde6122003c8d5d07856f8e..0feb05642fc635e78377c292ae2f0bebe2180acd 100644 --- a/app/but/bulletin_but.py +++ b/app/but/bulletin_but.py @@ -229,7 +229,7 @@ class BulletinBUT: if res.modimpl_inscr_df[modimpl.id][etud.id]: # si inscrit d[modimpl.module.code] = { "id": modimpl.id, - "titre": modimpl.module.titre, + "titre": modimpl.module.titre_str(), "code_apogee": modimpl.module.code_apogee, "url": ( url_for( @@ -540,9 +540,9 @@ class BulletinBUT: d.update(infos) # --- Rangs - d[ - "rang_nt" - ] = f"{d['semestre']['rang']['value']} / {d['semestre']['rang']['total']}" + d["rang_nt"] = ( + f"{d['semestre']['rang']['value']} / {d['semestre']['rang']['total']}" + ) d["rang_txt"] = "Rang " + d["rang_nt"] d.update(sco_bulletins.make_context_dict(self.res.formsemestre, d["etud"])) diff --git a/app/scodoc/sco_edit_module.py b/app/scodoc/sco_edit_module.py index e8f28787eccbda4caf59784f209139cb7e632238..6cd4421816a320c824422f03dcfc34454338d468 100644 --- a/app/scodoc/sco_edit_module.py +++ b/app/scodoc/sco_edit_module.py @@ -448,7 +448,7 @@ def module_edit( ( "titre", { - "size": 30, + "size": 64, "explanation": """nom du module. Exemple: <em>Introduction à la démarche ergonomique</em>""", }, @@ -456,8 +456,8 @@ def module_edit( ( "abbrev", { - "size": 20, - "explanation": """nom abrégé (pour bulletins). + "size": 32, + "explanation": """(optionnel) nom abrégé pour bulletins. Exemple: <em>Intro. à l'ergonomie</em>""", }, ),