Explorar el Código

Use ColoredLabelColumn for InventoryItem role

jeremystretch hace 4 años
padre
commit
8e888b4435
Se han modificado 1 ficheros con 1 adiciones y 3 borrados
  1. 1 3
      netbox/dcim/tables/devices.py

+ 1 - 3
netbox/dcim/tables/devices.py

@@ -755,9 +755,7 @@ class InventoryItemTable(DeviceComponentTable):
             'args': [Accessor('device_id')],
         }
     )
-    role = tables.Column(
-        linkify=True
-    )
+    role = columns.ColoredLabelColumn()
     manufacturer = tables.Column(
         linkify=True
     )