[PR #4144] [MERGED] Fixes: #3986 - Convert rack units to part of SVG rendered document #12770

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/4144
Author: @DanSheps
Created: 2/12/2020
Status: Merged
Merged: 2/12/2020
Merged by: @jeremystretch

Base: developHead: 3986-rack_positions_svg


📝 Commits (2)

  • 15bc731 Convert rack units to part of SVG rendered document
  • 62d6e02 Modify _draw_elevations

📊 Changes

4 files changed (+28 additions, -14 deletions)

View changed files

📝 netbox/dcim/constants.py (+2 -0)
📝 netbox/dcim/models/__init__.py (+17 -8)
📝 netbox/project-static/css/rack_elevation.css (+9 -0)
📝 netbox/templates/dcim/inc/rack_elevation.html (+0 -6)

📄 Description

Fixes: #3986 & #4110

Converts the rack legend into part of the SVG rendered document


🔄 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/4144 **Author:** [@DanSheps](https://github.com/DanSheps) **Created:** 2/12/2020 **Status:** ✅ Merged **Merged:** 2/12/2020 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `3986-rack_positions_svg` --- ### 📝 Commits (2) - [`15bc731`](https://github.com/netbox-community/netbox/commit/15bc731f611f170cf4107b08e974a9785bd4058f) Convert rack units to part of SVG rendered document - [`62d6e02`](https://github.com/netbox-community/netbox/commit/62d6e02d6bdb6d1a35d94e96d8de1e8e6b6625dd) Modify _draw_elevations ### 📊 Changes **4 files changed** (+28 additions, -14 deletions) <details> <summary>View changed files</summary> 📝 `netbox/dcim/constants.py` (+2 -0) 📝 `netbox/dcim/models/__init__.py` (+17 -8) 📝 `netbox/project-static/css/rack_elevation.css` (+9 -0) 📝 `netbox/templates/dcim/inc/rack_elevation.html` (+0 -6) </details> ### 📄 Description ### Fixes: #3986 & #4110 Converts the rack legend into part of the SVG rendered document --- <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:23:31 +01:00
adam closed this issue 2025-12-29 22:23:31 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#12770