mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-26 18:38:38 -06:00
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.
This commit is contained in:
parent
63364c2f30
commit
40c7cc6230
@ -61,9 +61,8 @@ class CircuitTable(TenancyColumnsMixin, ContactsColumnMixin, NetBoxTable):
|
|||||||
linkify=True,
|
linkify=True,
|
||||||
verbose_name=_('Account')
|
verbose_name=_('Account')
|
||||||
)
|
)
|
||||||
type = tables.Column(
|
type = columns.ColoredLabelColumn(
|
||||||
verbose_name=_('Type'),
|
verbose_name=_('Type'),
|
||||||
linkify=True
|
|
||||||
)
|
)
|
||||||
status = columns.ChoiceFieldColumn()
|
status = columns.ChoiceFieldColumn()
|
||||||
termination_a = columns.TemplateColumn(
|
termination_a = columns.TemplateColumn(
|
||||||
|
Loading…
Reference in New Issue
Block a user