First stab at cable path tracing and automatic endpoint connections

This commit is contained in:
Jeremy Stretch
2018-10-24 16:17:01 -04:00
parent 47c523a40b
commit 35f80f5085
4 changed files with 56 additions and 8 deletions
+1 -1
View File
@@ -106,7 +106,7 @@
<i class="glyphicon glyphicon-resize-full" aria-hidden="true"></i>
</a>
{% else %}
<a href="{% url 'dcim:interface_connect' termination_a_id=device.pk %}?return_url={{ device.get_absolute_url }}" class="btn btn-success btn-xs" title="Connect">
<a href="{% url 'dcim:interface_connect' termination_a_id=iface.pk %}?return_url={{ device.get_absolute_url }}" class="btn btn-success btn-xs" title="Connect">
<i class="glyphicon glyphicon-resize-small" aria-hidden="true"></i>
</a>
{% endif %}