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

This commit is contained in:
Aurelien PLANCKE 2021-05-21 13:37:07 +02:00
parent 088ba626f7
commit ee5b7939db

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_id"],f["formation_id"], suppricon)
% (f["formation_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_id"],f["formation_id"], editicon)
% (f["formation_acronyme"],f["formation_id"], editicon)
)
else:
but_edit = '<span class="but_placeholder"></span>'