diff --git a/netbox/dcim/models/cables.py b/netbox/dcim/models/cables.py index e0a489f5b..3f287317b 100644 --- a/netbox/dcim/models/cables.py +++ b/netbox/dcim/models/cables.py @@ -576,6 +576,7 @@ class CablePath(models.Model): [object_to_path_node(circuit_termination)], [object_to_path_node(circuit_termination.provider_network)], ]) + is_complete = True break elif circuit_termination.site and not circuit_termination.cable: # Circuit terminates to a Site diff --git a/netbox/dcim/tables/cables.py b/netbox/dcim/tables/cables.py index e5410e42a..9b9dbfd9e 100644 --- a/netbox/dcim/tables/cables.py +++ b/netbox/dcim/tables/cables.py @@ -123,5 +123,5 @@ class CableTable(TenancyColumnsMixin, NetBoxTable): 'length', 'tags', 'created', 'last_updated', ) default_columns = ( - 'pk', 'id', 'label', 'a_terminations', 'b_terminations', 'status', 'type', + 'pk', 'id', 'label', 'device_a', 'a_terminations', 'device_b', 'b_terminations', 'status', 'type', ) diff --git a/netbox/dcim/tables/template_code.py b/netbox/dcim/tables/template_code.py index 082df56df..d5ced4bbd 100644 --- a/netbox/dcim/tables/template_code.py +++ b/netbox/dcim/tables/template_code.py @@ -1,5 +1,9 @@ LINKTERMINATION = """ {% for termination in value %} + {% if termination.parent_object %} + {{ termination.parent_object }} + + {% endif %} {{ termination }}{% if not forloop.last %},{% endif %} {% empty %} {{ ''|placeholder }}