diff --git a/app/but/bulletin_but.py b/app/but/bulletin_but.py index ab4227b0..0feb0564 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 e8f28787..6cd44218 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: Introduction à la démarche ergonomique""", }, @@ -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: Intro. à l'ergonomie""", }, ),