mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-14 01:41:22 -06:00
Implemented feature #9525
This commit is contained in:
parent
e6018cd38f
commit
3d785d836d
@ -165,7 +165,14 @@ class NetBoxTable(BaseTable):
|
|||||||
linkify=True,
|
linkify=True,
|
||||||
verbose_name='ID'
|
verbose_name='ID'
|
||||||
)
|
)
|
||||||
actions = columns.ActionsColumn()
|
actions = columns.ActionsColumn(
|
||||||
|
extra_buttons="""
|
||||||
|
<a class="btn btn-sm btn-warning" href="{{ record.get_absolute_url }}edit/" type="button">
|
||||||
|
<i class="mdi mdi-pencil">
|
||||||
|
</i>
|
||||||
|
</a>
|
||||||
|
"""
|
||||||
|
)
|
||||||
|
|
||||||
exempt_columns = ('pk', 'actions')
|
exempt_columns = ('pk', 'actions')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user