[PR #2082] [CLOSED] change rack elevation template to use device.display_name property #12308

Closed
opened 2025-12-29 22:20:47 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/2082
Author: @nickzxcv
Created: 5/8/2018
Status: Closed

Base: developHead: device_display_name


📝 Commits (1)

  • 08c3877 change rack elevation template to use device.display_name property

📊 Changes

1 file changed (+2 additions, -2 deletions)

View changed files

📝 netbox/templates/dcim/inc/rack_elevation.html (+2 -2)

📄 Description

Fixes:

The display_name property works better for virtual chassis members. For standalone unnamed devices though, it will show the device type name instead of the device role name. I'm not sure one of those is definitely better than the other. I hope this makes sense though!


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netbox-community/netbox/pull/2082 **Author:** [@nickzxcv](https://github.com/nickzxcv) **Created:** 5/8/2018 **Status:** ❌ Closed **Base:** `develop` ← **Head:** `device_display_name` --- ### 📝 Commits (1) - [`08c3877`](https://github.com/netbox-community/netbox/commit/08c3877f63d149ecc3c403ae1e7b132aaf165278) change rack elevation template to use device.display_name property ### 📊 Changes **1 file changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `netbox/templates/dcim/inc/rack_elevation.html` (+2 -2) </details> ### 📄 Description <!-- Thank you for your interest in contributing to NetBox! Please note that our contribution policy requires that a feature request or bug report be opened for approval prior to filing a pull request. This helps avoid wasting time and effort on something that we might not be able to accept. Please indicate the relevant feature request or bug report below. --> ### Fixes: The display_name property works better for virtual chassis members. For standalone unnamed devices though, it will show the device type name instead of the device role name. I'm not sure one of those is definitely better than the other. I hope this makes sense though! --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 22:20:47 +01:00
adam closed this issue 2025-12-29 22:20:47 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#12308