From fbd5a856516d3a1f9c671fa8e665dbe6e6adc8e4 Mon Sep 17 00:00:00 2001 From: aurelien Date: Tue, 25 May 2021 16:11:11 +0200 Subject: [PATCH] testAjoutID titre formation --- sco_formations.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/sco_formations.py b/sco_formations.py index fa5aabe3..7d1039e1 100644 --- a/sco_formations.py +++ b/sco_formations.py @@ -229,6 +229,7 @@ def formation_list_table(context, formation_id=None, args={}, REQUEST=None): f["parcours_name"] = "" f["_titre_target"] = "ue_list?formation_id=%(formation_id)s" % f f["_titre_link_class"] = "stdlink" + f["_titre_id"] = "titre%(formation_acronyme)s" # Ajoute les semestres associés à chaque formation: f["sems"] = sco_formsemestre.do_formsemestre_list( context, args={"formation_id": f["formation_id"]} @@ -241,7 +242,7 @@ def formation_list_table(context, formation_id=None, args={}, REQUEST=None): for s in f["sems"] ] + [ - 'ajouter' + 'ajouter' % f ] ) @@ -260,14 +261,14 @@ def formation_list_table(context, formation_id=None, args={}, REQUEST=None): if editable and not locked: but_suppr = ( '%s' - % (f["acronyme"],f["formation_id"], suppricon) + % (f["acronyme"], f["formation_id"], suppricon) ) else: but_suppr = '' if editable: but_edit = ( '%s' - % (f["acronyme"],f["formation_id"], editicon) + % (f["acronyme"], f["formation_id"], editicon) ) else: but_edit = ''