[PR #3987] [MERGED] Closes #3310: Pre-select site/rack for B side when creating a new cable #12716

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/3987
Author: @jeremystretch
Created: 1/22/2020
Status: Merged
Merged: 1/22/2020
Merged by: @jeremystretch

Base: developHead: 3310-cableform-initial-data


📝 Commits (1)

  • f826e15 Closes #3310: Pre-select site/rack for B side when creating a new cable

📊 Changes

6 files changed (+42 additions, -38 deletions)

View changed files

📝 docs/release-notes/version-2.7.md (+4 -0)
📝 netbox/dcim/forms.py (+10 -0)
📝 netbox/dcim/views.py (+6 -0)
📝 netbox/templates/dcim/cable_connect.html (+2 -19)
📝 netbox/templates/dcim/cable_edit.html (+1 -19)
netbox/templates/dcim/inc/cable_form.html (+19 -0)

📄 Description

Fixes: #3310

  • Set initial data for the termination B site and rack fields in CableCreateView
  • Merge redundant forms templates into dcim/inc/cable_form.html
  • Preserve widget and style changes from PR #3893

🔄 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/3987 **Author:** [@jeremystretch](https://github.com/jeremystretch) **Created:** 1/22/2020 **Status:** ✅ Merged **Merged:** 1/22/2020 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `3310-cableform-initial-data` --- ### 📝 Commits (1) - [`f826e15`](https://github.com/netbox-community/netbox/commit/f826e156031e7c057716b5dd3590a3ab52fa1ec1) Closes #3310: Pre-select site/rack for B side when creating a new cable ### 📊 Changes **6 files changed** (+42 additions, -38 deletions) <details> <summary>View changed files</summary> 📝 `docs/release-notes/version-2.7.md` (+4 -0) 📝 `netbox/dcim/forms.py` (+10 -0) 📝 `netbox/dcim/views.py` (+6 -0) 📝 `netbox/templates/dcim/cable_connect.html` (+2 -19) 📝 `netbox/templates/dcim/cable_edit.html` (+1 -19) ➕ `netbox/templates/dcim/inc/cable_form.html` (+19 -0) </details> ### 📄 Description ### Fixes: #3310 - Set initial data for the termination B site and rack fields in CableCreateView - Merge redundant forms templates into `dcim/inc/cable_form.html` - Preserve widget and style changes from PR #3893 --- <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:13 +01:00
adam closed this issue 2025-12-29 22:23:14 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#12716