mirror of https://gitlab.crans.org/bde/nk20
crappy name -> crappy behavior
This commit is contained in:
parent
a00e43bc26
commit
61b6aceb36
|
@ -77,7 +77,7 @@ class AliasTable(tables.Table):
|
|||
show_header = False
|
||||
name = tables.Column(attrs={'td': {'class': 'text-center'}})
|
||||
|
||||
delete_btn = tables.TemplateColumn(template_code=DELETE_TEMPLATE,
|
||||
delete_col = tables.TemplateColumn(template_code=DELETE_TEMPLATE,
|
||||
extra_context={"delete_trans": _('delete')},
|
||||
attrs={'td': {'class': 'col-sm-1'}})
|
||||
|
||||
|
@ -104,7 +104,7 @@ class ButtonTable(tables.Table):
|
|||
text=_('edit'),
|
||||
accessor='pk')
|
||||
|
||||
delete = tables.TemplateColumn(template_code=DELETE_TEMPLATE,
|
||||
delete_col = tables.TemplateColumn(template_code=DELETE_TEMPLATE,
|
||||
extra_context={"delete_trans": _('delete')},
|
||||
attrs={'td': {'class': 'col-sm-1'}})
|
||||
|
||||
|
|
Loading…
Reference in New Issue