Skip to content

Commit 6dce67c

Browse files
committed
adds description to elevation device tooltip #11801
1 parent 3eba65b commit 6dce67c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

netbox/dcim/svg/racks.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,10 @@ def get_device_name(device):
3737

3838

3939
def get_device_description(device):
40-
return '{} ({}) — {} {} ({}U) {} {}'.format(
40+
return '{} ({}) {} — {} {} ({}U) {} {}'.format(
4141
device.name,
4242
device.device_role,
43+
device.description,
4344
device.device_type.manufacturer.name,
4445
device.device_type.model,
4546
floatformat(device.device_type.u_height),

0 commit comments

Comments
 (0)