diff --git a/docs/release-notes/version-3.3.md b/docs/release-notes/version-3.3.md index 78568e6af..0c84c98bb 100644 --- a/docs/release-notes/version-3.3.md +++ b/docs/release-notes/version-3.3.md @@ -29,7 +29,8 @@ * [#10094](https://github.com/netbox-community/netbox/issues/10094) - Fix 404 when using "create and add another" to add contact assignments * [#10108](https://github.com/netbox-community/netbox/issues/10108) - Linkify inside NAT IPs for primary device IPs in UI * [#10109](https://github.com/netbox-community/netbox/issues/10109) - Fix available prefixes calculation for container prefixes in the global table -* [#10111](https://github.com/netbox-community/netbox/issues/10111) - Wrap search QS to catch ValueError on identifier field +* [#10111](https://github.com/netbox-community/netbox/issues/10111) - Fix ValueError exception when searching for L2VPN objects +* [#10118](https://github.com/netbox-community/netbox/issues/10118) - Fix display of connected LLDP neighbors for devices * [#10134](https://github.com/netbox-community/netbox/issues/10134) - Custom fields data serializer should return a 400 response for invalid data * [#10135](https://github.com/netbox-community/netbox/issues/10135) - Fix SSO support for SAML2 IDPs * [#10147](https://github.com/netbox-community/netbox/issues/10147) - Permit the creation of 0U device types via REST API diff --git a/netbox/templates/dcim/device/lldp_neighbors.html b/netbox/templates/dcim/device/lldp_neighbors.html index adf8efdce..2be6aba4d 100644 --- a/netbox/templates/dcim/device/lldp_neighbors.html +++ b/netbox/templates/dcim/device/lldp_neighbors.html @@ -32,23 +32,25 @@ {% for iface in interfaces %} {{ iface }} - {% if iface.connected_endpoint.device %} - - {{ iface.connected_endpoint.device }} - - - {{ iface.connected_endpoint }} - - {% elif iface.connected_endpoint.circuit %} - {% with circuit=iface.connected_endpoint.circuit %} - - - {{ circuit.provider }} {{ circuit }} - - {% endwith %} - {% else %} - None - {% endif %} + {% with peer=iface.connected_endpoints.0 %} + {% if peer.device %} + + {{ peer.device }} + + + {{ peer }} + + {% elif peer.circuit %} + {% with circuit=peer.circuit %} + + + {{ circuit.provider }} {{ circuit }} + + {% endwith %} + {% else %} + None + {% endif %} + {% endwith %}