Fix Interface Link to use device and device fk

This commit is contained in:
Joseph Kennedy 2017-08-03 21:02:50 -04:00
parent dd62e7576a
commit 81bca1bc31

View File

@ -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>
"""