diff --git a/netbox/templates/dcim/inc/interface.html b/netbox/templates/dcim/inc/interface.html index ce66d9da2..3e175bfaf 100644 --- a/netbox/templates/dcim/inc/interface.html +++ b/netbox/templates/dcim/inc/interface.html @@ -93,33 +93,16 @@ {# Connected to a CircuitTermination #} {% with iface.connected_endpoint.get_peer_termination as peer_termination %} {% if peer_termination %} - {% if peer_termination.connected_endpoint %} - - - {{ peer_termination.connected_endpoint.device }} -
- via - - {{ iface.connected_endpoint.circuit.provider }} - {{ iface.connected_endpoint.circuit }} - - - - - {{ peer_termination.connected_endpoint }} - - {% else %} - - - {{ peer_termination.site }} - - via - - {{ iface.connected_endpoint.circuit.provider }} - {{ iface.connected_endpoint.circuit }} - - - {% endif %} + + + {{ peer_termination.site }} + + via + + {{ iface.connected_endpoint.circuit.provider }} + {{ iface.connected_endpoint.circuit }} + + {% else %}