mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Fixes #1400: Device interface shows twice on IP Addresses page
This commit is contained in:
@ -80,7 +80,6 @@ IPADDRESS_LINK = """
|
|||||||
IPADDRESS_DEVICE = """
|
IPADDRESS_DEVICE = """
|
||||||
{% if record.interface %}
|
{% if record.interface %}
|
||||||
<a href="{{ record.interface.device.get_absolute_url }}">{{ record.interface.device }}</a>
|
<a href="{{ record.interface.device.get_absolute_url }}">{{ record.interface.device }}</a>
|
||||||
({{ record.interface.name }})
|
|
||||||
{% else %}
|
{% else %}
|
||||||
—
|
—
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
Reference in New Issue
Block a user