forked from ScoDoc/ScoDoc
changement ID des boutons de ID de formation à acronyme de formation
This commit is contained in:
parent
088ba626f7
commit
ee5b7939db
@ -260,14 +260,14 @@ def formation_list_table(context, formation_id=None, args={}, REQUEST=None):
|
|||||||
if editable and not locked:
|
if editable and not locked:
|
||||||
but_suppr = (
|
but_suppr = (
|
||||||
'<a class="stdlink" id="delete_Formation_%s" 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"],f["formation_id"], suppricon)
|
% (f["formation_acronyme"],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" id="modify_Formation_%s" 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"],f["formation_id"], editicon)
|
% (f["formation_acronyme"],f["formation_id"], editicon)
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
but_edit = '<span class="but_placeholder"></span>'
|
but_edit = '<span class="but_placeholder"></span>'
|
||||||
|
Loading…
Reference in New Issue
Block a user