cancel black formatting

This commit is contained in:
Jean-Marie Place 2023-02-20 12:34:32 +01:00
parent 5614bd0663
commit 67fc20fe2a

View File

@ -502,11 +502,14 @@ def formation_list_table(formation_id=None, args={}):
else: else:
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 = '<a class="stdlink" href="formation_delete?formation_id=%s" id="delete-formation-%s">%s</a>' % ( but_suppr = (
'<a class="stdlink" href="formation_delete?formation_id=%s" id="delete-formation-%s">%s</a>'
% (
f["formation_id"], f["formation_id"],
f["acronyme"].lower().replace(" ", "-"), f["acronyme"].lower().replace(" ", "-"),
suppricon, suppricon,
) )
)
else: else:
but_suppr = '<span class="but_placeholder"></span>' but_suppr = '<span class="but_placeholder"></span>'
if editable: if editable: