Skip to content

Commit dd6d9bf

Browse files
authored
List multiple devices in Terminations (#13030)
1 parent 183c7de commit dd6d9bf

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

netbox/templates/dcim/inc/cable_termination.html

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,14 @@
1515
<td>Rack</td>
1616
<td>{{ terminations.0.device.rack|linkify|placeholder }}</td>
1717
</tr>
18-
<tr>
19-
<td>Device</td>
20-
<td>{{ terminations.0.device|linkify }}</td>
21-
</tr>
2218
<tr>
2319
<td>{{ terminations.0|meta:"verbose_name"|capfirst }}</td>
2420
<td>
2521
{% for term in terminations %}
26-
{{ term|linkify }}{% if not forloop.last %},{% endif %}
22+
{{term.device|linkify}}
23+
<i class="mdi mdi-chevron-right" aria-hidden="true"></i>
24+
{{ term|linkify }}
25+
{% if not forloop.last %}<br/>{% endif %}
2726
{% endfor %}
2827
</td>
2928
</tr>

0 commit comments

Comments
 (0)