We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f6d88bb commit 71c6cf7Copy full SHA for 71c6cf7
netbox/dcim/svg/racks.py
@@ -56,7 +56,7 @@ def get_device_description(device):
56
"""
57
description = f'Name: {device.name}'
58
description += f'\nRole: {device.role}'
59
- description += f'\nStatus: {device.status.capitalize()}'
+ description += f'\nStatus: {device.get_status_display()}'
60
u_height = f'{floatformat(device.device_type.u_height)}U'
61
description += f'\nDevice Type: {device.device_type.manufacturer.name} {device.device_type.model} ({u_height})'
62
if device.asset_tag:
0 commit comments