forked from ScoDoc/ScoDoc
cancel black formatting
This commit is contained in:
parent
5614bd0663
commit
67fc20fe2a
@ -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>'
|
||||||
|
Loading…
Reference in New Issue
Block a user