mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Corrected manufacturer column name in DeviceTypeTable
This commit is contained in:
@ -122,6 +122,7 @@ class RackImportTable(BaseTable):
|
|||||||
model = Rack
|
model = Rack
|
||||||
fields = ('site', 'group', 'name', 'facility_id', 'u_height')
|
fields = ('site', 'group', 'name', 'facility_id', 'u_height')
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Manufacturers
|
# Manufacturers
|
||||||
#
|
#
|
||||||
@ -144,6 +145,7 @@ class ManufacturerTable(BaseTable):
|
|||||||
|
|
||||||
class DeviceTypeTable(BaseTable):
|
class DeviceTypeTable(BaseTable):
|
||||||
pk = ToggleColumn()
|
pk = ToggleColumn()
|
||||||
|
manufacturer = tables.Column(verbose_name='Manufacturer')
|
||||||
model = tables.LinkColumn('dcim:devicetype', args=[Accessor('pk')], verbose_name='Device Type')
|
model = tables.LinkColumn('dcim:devicetype', args=[Accessor('pk')], verbose_name='Device Type')
|
||||||
|
|
||||||
class Meta(BaseTable.Meta):
|
class Meta(BaseTable.Meta):
|
||||||
|
Reference in New Issue
Block a user