forked from ScoDoc/ScoDoc
AJout ID bouttonFormation
This commit is contained in:
parent
e4ff804ab1
commit
0817977eab
@ -259,14 +259,14 @@ def formation_list_table(context, formation_id=None, args={}, REQUEST=None):
|
|||||||
but_locked = '<span class="but_placeholder"></span>'
|
but_locked = '<span class="but_placeholder"></span>'
|
||||||
if editable and not locked:
|
if editable and not locked:
|
||||||
but_suppr = (
|
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)
|
% (f["formation_id"], suppricon)
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
but_suppr = '<span class="but_placeholder"></span>'
|
but_suppr = '<span class="but_placeholder"></span>'
|
||||||
if editable:
|
if editable:
|
||||||
but_edit = (
|
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)
|
% (f["formation_id"], editicon)
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user