changement ID des boutons de ID de formation à acronyme de formation

This commit is contained in:
Aurelien PLANCKE 2021-05-21 13:39:28 +02:00
parent ee5b7939db
commit 8de7cd3d46

View File

@ -260,14 +260,14 @@ def formation_list_table(context, formation_id=None, args={}, REQUEST=None):
if editable and not locked:
but_suppr = (
'<a class="stdlink" id="delete_Formation_%s" href="formation_delete?formation_id=%s">%s</a>'
% (f["formation_acronyme"],f["formation_id"], suppricon)
% (f["acronyme"],f["formation_id"], suppricon)
)
else:
but_suppr = '<span class="but_placeholder"></span>'
if editable:
but_edit = (
'<a class="stdlink" id="modify_Formation_%s" href="formation_edit?formation_id=%s">%s</a>'
% (f["formation_acronyme"],f["formation_id"], editicon)
% (f["acronyme"],f["formation_id"], editicon)
)
else:
but_edit = '<span class="but_placeholder"></span>'