Skip to content

Commit 88dd7a1

Browse files
pheusjeremystretch
authored andcommitted
feat(circuits): Use ColoredLabelColumn for type column
Refactors the 'type' column to use ColoredLabelColumn for improved visual distinction, aligning it with the rack roles display. Removes the now redundant 'linkify' attribute from the column definition.
1 parent d0c2e0e commit 88dd7a1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

netbox/circuits/tables/circuits.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,8 @@ class CircuitTable(TenancyColumnsMixin, ContactsColumnMixin, NetBoxTable):
6161
linkify=True,
6262
verbose_name=_('Account')
6363
)
64-
type = tables.Column(
64+
type = columns.ColoredLabelColumn(
6565
verbose_name=_('Type'),
66-
linkify=True
6766
)
6867
status = columns.ChoiceFieldColumn()
6968
termination_a = columns.TemplateColumn(

0 commit comments

Comments
 (0)