mirror of
https://github.com/netbox-community/netbox.git
synced 2025-12-09 01:49:35 -06:00
This commit is contained in:
parent
a437931aef
commit
0c22fc9408
@ -312,6 +312,16 @@ class DeviceComponentTable(NetBoxTable):
|
|||||||
verbose_name=_('Name'),
|
verbose_name=_('Name'),
|
||||||
linkify=True,
|
linkify=True,
|
||||||
)
|
)
|
||||||
|
device_location = tables.Column(
|
||||||
|
accessor=tables.A('device__location'),
|
||||||
|
verbose_name=_('Device Location'),
|
||||||
|
linkify=True,
|
||||||
|
)
|
||||||
|
device_site = tables.Column(
|
||||||
|
accessor=tables.A('device__site'),
|
||||||
|
verbose_name=_('Device Site'),
|
||||||
|
linkify=True,
|
||||||
|
)
|
||||||
device_status = columns.ChoiceFieldColumn(
|
device_status = columns.ChoiceFieldColumn(
|
||||||
accessor=tables.A('device__status'),
|
accessor=tables.A('device__status'),
|
||||||
verbose_name=_('Device Status'),
|
verbose_name=_('Device Status'),
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user