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,10 +502,13 @@ 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 = (
f["formation_id"], '<a class="stdlink" href="formation_delete?formation_id=%s" id="delete-formation-%s">%s</a>'
f["acronyme"].lower().replace(" ", "-"), % (
suppricon, f["formation_id"],
f["acronyme"].lower().replace(" ", "-"),
suppricon,
)
) )
else: else:
but_suppr = '<span class="but_placeholder"></span>' but_suppr = '<span class="but_placeholder"></span>'