mirror of
https://github.com/netbox-community/netbox.git
synced 2026-02-04 22:36:24 -06:00
Added cable connections to component lists
This commit is contained in:
@@ -69,6 +69,18 @@
|
||||
</td>
|
||||
{% endif %}
|
||||
|
||||
{# Cable #}
|
||||
<td>
|
||||
{% with cable=iface.get_connected_cable %}
|
||||
{% if cable %}
|
||||
<a href="{{ cable.get_absolute_url }}">{{ cable }}</a>
|
||||
{% if cable.far_end != csp.connected_endpoint %}
|
||||
to <a href="{{ cable.far_end.device.get_absolute_url }}">{{ cable.far_end.device }}</a> {{ cable.far_end }}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endwith %}
|
||||
</td>
|
||||
|
||||
{# Buttons #}
|
||||
<td class="text-right text-nowrap">
|
||||
{% if show_graphs %}
|
||||
|
||||
Reference in New Issue
Block a user