mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-21 11:37:21 -06:00
Closes #10035: Include assigned_object_parent column by default in L2VPN terminations table
This commit is contained in:
parent
5671a37f43
commit
107f19a0e9
@ -49,21 +49,27 @@ class L2VPNTerminationTable(NetBoxTable):
|
||||
verbose_name='Object Type'
|
||||
)
|
||||
assigned_object = tables.Column(
|
||||
verbose_name='Assigned Object',
|
||||
linkify=True,
|
||||
orderable=False
|
||||
orderable=False,
|
||||
verbose_name='Object'
|
||||
)
|
||||
assigned_object_parent = tables.Column(
|
||||
linkify=True,
|
||||
orderable=False
|
||||
orderable=False,
|
||||
verbose_name='Object Parent'
|
||||
)
|
||||
assigned_object_site = tables.Column(
|
||||
linkify=True,
|
||||
orderable=False
|
||||
orderable=False,
|
||||
verbose_name='Object Site'
|
||||
)
|
||||
|
||||
class Meta(NetBoxTable.Meta):
|
||||
model = L2VPNTermination
|
||||
fields = ('pk', 'l2vpn', 'assigned_object_type', 'assigned_object', 'assigned_object_parent',
|
||||
'assigned_object_site', 'actions')
|
||||
default_columns = ('pk', 'l2vpn', 'assigned_object_type', 'assigned_object', 'actions')
|
||||
fields = (
|
||||
'pk', 'l2vpn', 'assigned_object_type', 'assigned_object', 'assigned_object_parent', 'assigned_object_site',
|
||||
'actions',
|
||||
)
|
||||
default_columns = (
|
||||
'pk', 'l2vpn', 'assigned_object_type', 'assigned_object_parent', 'assigned_object', 'actions',
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user