mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Closes #10202: Clean up TemplateColumn template code & accessors
This commit is contained in:
@@ -51,7 +51,7 @@ class RackTable(TenancyColumnsMixin, NetBoxTable):
|
||||
status = columns.ChoiceFieldColumn()
|
||||
role = columns.ColoredLabelColumn()
|
||||
u_height = tables.TemplateColumn(
|
||||
template_code="{{ record.u_height }}U",
|
||||
template_code="{{ value }}U",
|
||||
verbose_name='Height'
|
||||
)
|
||||
comments = columns.MarkdownColumn()
|
||||
|
||||
Reference in New Issue
Block a user