AJout ID bouttonFormation

This commit is contained in:
Aurelien PLANCKE 2021-05-21 13:25:01 +02:00
parent e4ff804ab1
commit 0817977eab

View File

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