mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-13 02:58:17 -06:00
Rename provider column
This commit is contained in:
parent
37d4ca38f2
commit
547f7c3dab
@ -96,8 +96,8 @@ class CircuitTerminationTable(NetBoxTable):
|
|||||||
verbose_name=_('Circuit'),
|
verbose_name=_('Circuit'),
|
||||||
linkify=True
|
linkify=True
|
||||||
)
|
)
|
||||||
circuit_provider = tables.Column(
|
provider = tables.Column(
|
||||||
verbose_name=_('Circuit Provider'),
|
verbose_name=_('Provider'),
|
||||||
linkify=True,
|
linkify=True,
|
||||||
accessor='circuit.provider'
|
accessor='circuit.provider'
|
||||||
)
|
)
|
||||||
@ -113,7 +113,7 @@ class CircuitTerminationTable(NetBoxTable):
|
|||||||
class Meta(NetBoxTable.Meta):
|
class Meta(NetBoxTable.Meta):
|
||||||
model = CircuitTermination
|
model = CircuitTermination
|
||||||
fields = (
|
fields = (
|
||||||
'pk', 'id', 'circuit', 'circuit_provider', 'term_side', 'site', 'provider_network', 'port_speed', 'upstream_speed',
|
'pk', 'id', 'circuit', 'provider', 'term_side', 'site', 'provider_network', 'port_speed', 'upstream_speed',
|
||||||
'xconnect_id', 'pp_info', 'description', 'created', 'last_updated', 'actions',
|
'xconnect_id', 'pp_info', 'description', 'created', 'last_updated', 'actions',
|
||||||
)
|
)
|
||||||
default_columns = ('pk', 'id', 'circuit', 'circuit_provider', 'term_side', 'description')
|
default_columns = ('pk', 'id', 'circuit', 'provider', 'term_side', 'description')
|
||||||
|
Loading…
Reference in New Issue
Block a user