Skip to content

Commit 87b4cff

Browse files
committed
Closes #6278: Note device locations on cable traces
1 parent 19a2b90 commit 87b4cff

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

docs/release-notes/version-2.11.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
### Enhancements
66

77
* [#6275](https://github.com/netbox-community/netbox/issues/6275) - Linkify rack, device counts on locations list
8+
* [#6278](https://github.com/netbox-community/netbox/issues/6278) - Note device locations on cable traces
89

910
### Bug Fixes
1011

netbox/templates/dcim/trace/device.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
<strong><a href="{{ device.get_absolute_url }}">{{ device }}</a></strong><br />
33
{{ device.device_type.manufacturer }} {{ device.device_type }}<br />
44
<a href="{{ device.site.get_absolute_url }}">{{ device.site }}</a>
5+
{% if device.location %}
6+
/ <a href="{{ device.location.get_absolute_url }}">{{ device.location }}</a>
7+
{% endif %}
58
{% if device.rack %}
69
/ <a href="{{ device.rack.get_absolute_url }}">{{ device.rack }}</a>
710
{% endif %}

0 commit comments

Comments
 (0)