Parcourir la source

Corrected manufacturer column name in DeviceTypeTable

Jeremy Stretch il y a 8 ans
Parent
commit
8e2a69af56
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 2 0
      netbox/dcim/tables.py

+ 2 - 0
netbox/dcim/tables.py

@@ -122,6 +122,7 @@ class RackImportTable(BaseTable):
         model = Rack
         fields = ('site', 'group', 'name', 'facility_id', 'u_height')
 
+
 #
 # Manufacturers
 #
@@ -144,6 +145,7 @@ class ManufacturerTable(BaseTable):
 
 class DeviceTypeTable(BaseTable):
     pk = ToggleColumn()
+    manufacturer = tables.Column(verbose_name='Manufacturer')
     model = tables.LinkColumn('dcim:devicetype', args=[Accessor('pk')], verbose_name='Device Type')
 
     class Meta(BaseTable.Meta):