fix: stack members show the whole switch stack in the port panel and PDF

The current device is marked in the panel.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
MrBlakeandClaude Opus 5.5 committed 2026-11-04 09:17:34 +01:00
1 parent ce174c6541
commit 356034fe98
6 files changed
+27 -12

No files matched your search

@@ -23,7 +23,7 @@
{% for unit in units %}
{% if stack %}
<div class="nbu-stack-member small fw-semibold{% if not forloop.first %} mt-3{% endif %}">
<a href="{{ unit.device.get_absolute_url }}">{{ unit.device }}</a>
<a href="{{ unit.device.get_absolute_url }}">{{ unit.device }}</a>{% if unit.current %} <span class="badge text-bg-secondary">{{ texts.this_device }}</span>{% endif %}
</div>
{% endif %}
<div class="nbu-faceplate">