|
@@ -196,10 +196,12 @@ class DeviceTypeTable(BaseTable):
|
|
|
manufacturer = tables.Column(verbose_name='Manufacturer')
|
|
|
model = tables.LinkColumn('dcim:devicetype', args=[Accessor('pk')], verbose_name='Device Type')
|
|
|
part_number = tables.Column(verbose_name='Part Number')
|
|
|
+ is_full_depth = tables.BooleanColumn(verbose_name='Full Depth')
|
|
|
+ instance_count = tables.Column(verbose_name='Instances')
|
|
|
|
|
|
class Meta(BaseTable.Meta):
|
|
|
model = DeviceType
|
|
|
- fields = ('pk', 'model', 'manufacturer', 'part_number', 'u_height')
|
|
|
+ fields = ('pk', 'model', 'manufacturer', 'part_number', 'u_height', 'is_full_depth', 'instance_count')
|
|
|
|
|
|
|
|
|
#
|