{% comment %} One device's cabling, as seen from that device. The rack-wide list answers "what is wired in here"; this answers "what is this thing wired to", which is the question you have the moment you click something. Each row names the local port first whichever end of the cable this device is on, so the list reads outward from the device rather than in whatever direction the cable happened to be recorded. {% endcomment %} {% for run in runs %} {% if run.local_device.pk == device.pk %}
Nothing on this device has a cable recorded.
{% endfor %}