Skip to content

Commit 305d88e

Browse files
committed
Fixes #8079: Fix validation of LLDP neighbors when connected device has an asset tag
1 parent cdc73d4 commit 305d88e

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

docs/release-notes/version-3.1.md

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

1212
* [#7674](https://github.com/netbox-community/netbox/issues/7674) - Fix inadvertent application of device type context to virtual machines
1313
* [#8074](https://github.com/netbox-community/netbox/issues/8074) - Ordering VMs by name should reference naturalized value
14+
* [#8079](https://github.com/netbox-community/netbox/issues/8079) - Fix validation of LLDP neighbors when connected device has an asset tag
1415

1516
---
1617

netbox/templates/dcim/device/lldp_neighbors.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,12 @@ <h5 class="d-inline">LLDP Neighbors</h5>
3131
<tbody>
3232
{% for iface in interfaces %}
3333
<tr id="{{ iface.name }}">
34-
<td class="font-monospace">{{ iface }}</td>
34+
<td>{{ iface }}</td>
3535
{% if iface.connected_endpoint.device %}
36-
<td class="configured_device" data="{{ iface.connected_endpoint.device }}" data-chassis="{{ iface.connected_endpoint.device.virtual_chassis.name }}">
36+
<td class="configured_device" data="{{ iface.connected_endpoint.device.name }}" data-chassis="{{ iface.connected_endpoint.device.virtual_chassis.name }}">
3737
<a href="{% url 'dcim:device' pk=iface.connected_endpoint.device.pk %}">{{ iface.connected_endpoint.device }}</a>
3838
</td>
39-
<td class="configured_interface" data="{{ iface.connected_endpoint }}">
39+
<td class="configured_interface" data="{{ iface.connected_endpoint.name }}">
4040
<span title="{{ iface.connected_endpoint.get_type_display }}">{{ iface.connected_endpoint }}</span>
4141
</td>
4242
{% elif iface.connected_endpoint.circuit %}

0 commit comments

Comments
 (0)