[PR #10905] [MERGED] Closes #10904: Added Colors to SVG for Front and Rear Ports #13712

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/10905
Author: @dvigne
Created: 11/14/2022
Status: Merged
Merged: 11/16/2022
Merged by: @jeremystretch

Base: developHead: 10904-add-colors-to-front-rear-ports


📝 Commits (2)

  • 00cf564 Added Colors to SVG for Front and Reaer Ports
  • ddfdf61 Simplify termination color resolution

📊 Changes

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

View changed files

📝 netbox/dcim/svg/cables.py (+1 -1)

📄 Description

Fix for feature request 10904 thanks to @TheZackCodec

Fixes: #10904

When rendering the SVG, checks if a custom color is defined and renders that color on the termination.


🔄 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/10905 **Author:** [@dvigne](https://github.com/dvigne) **Created:** 11/14/2022 **Status:** ✅ Merged **Merged:** 11/16/2022 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `10904-add-colors-to-front-rear-ports` --- ### 📝 Commits (2) - [`00cf564`](https://github.com/netbox-community/netbox/commit/00cf5642a0cb2a69968179fa7faf19c9e0c888a3) Added Colors to SVG for Front and Reaer Ports - [`ddfdf61`](https://github.com/netbox-community/netbox/commit/ddfdf613423fedc3650a5eee577ad83f3ae75fd5) Simplify termination color resolution ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `netbox/dcim/svg/cables.py` (+1 -1) </details> ### 📄 Description Fix for feature request 10904 thanks to @TheZackCodec ### Fixes: #10904 When rendering the SVG, checks if a custom color is defined and renders that color on the termination. --- <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 23:20:24 +01:00
adam closed this issue 2025-12-29 23:20:24 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#13712