This commit is contained in:
Jeremy Stretch 2025-09-06 11:04:36 +04:00 committed by GitHub
commit ac7c6f2749
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -195,6 +195,11 @@ class DeviceTable(TenancyColumnsMixin, ContactsColumnMixin, NetBoxTable):
linkify=True,
verbose_name=_('Type')
)
u_height = columns.TemplateColumn(
accessor=tables.A('device_type.u_height'),
verbose_name=_('U Height'),
template_code='{{ value|floatformat }}'
)
platform = tables.Column(
linkify=True,
verbose_name=_('Platform')