mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-07 08:08:15 -06:00
Fix Interface Link to use device and device fk
This commit is contained in:
parent
dd62e7576a
commit
81bca1bc31
@ -40,8 +40,8 @@ DEVICE_LINK = """
|
||||
"""
|
||||
|
||||
INTERFACE_LINK = """
|
||||
<a href="{% url 'dcim:interface' pk=record.pk %}">
|
||||
{{ record.name|default:'<span class="label label-info"></span>' }}
|
||||
<a href="{% url 'dcim:device' pk=record.device %}">
|
||||
{{ record.name|default:'<span class="label label-info"> - </span>' }}
|
||||
</a>
|
||||
"""
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user