mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-18 13:06:30 -06:00
14405 render link_peer to CSV (#15201)
* 14405 render link_peer to csv * 14405 review changes
This commit is contained in:
parent
cf3969bc6c
commit
17a321a340
@ -359,6 +359,11 @@ class CableTerminationTable(NetBoxTable):
|
||||
verbose_name=_('Mark Connected'),
|
||||
)
|
||||
|
||||
def value_link_peer(self, value):
|
||||
return ', '.join([
|
||||
f"{termination.parent_object} > {termination}" for termination in value
|
||||
])
|
||||
|
||||
|
||||
class PathEndpointTable(CableTerminationTable):
|
||||
connection = columns.TemplateColumn(
|
||||
|
Loading…
Reference in New Issue
Block a user