[PR #8876] [CLOSED] Assign Device to Position #13404

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/8876
Author: @minitriga
Created: 3/15/2022
Status: Closed

Base: developHead: issue_8552


📝 Commits (6)

  • 1a81761 implement assign device for rack
  • 018833b Closes: #8552 - Implement Assign Device to Rack
  • aa18281 update tenant column
  • f67b0af fix ordering and remove debug statement
  • 39dd8b7 Merge branch 'develop' into issue_8552
  • 7e78372 fix bugs

📊 Changes

9 files changed (+189 additions, -1 deletions)

View changed files

📝 netbox/dcim/forms/models.py (+18 -0)
📝 netbox/dcim/svg.py (+2 -1)
📝 netbox/dcim/tables/devices.py (+37 -0)
📝 netbox/dcim/tables/template_code.py (+18 -0)
📝 netbox/dcim/urls.py (+1 -0)
📝 netbox/dcim/views.py (+38 -0)
netbox/templates/dcim/device_assign.html (+48 -0)
📝 netbox/templates/dcim/device_edit.html (+5 -0)
netbox/templates/dcim/inc/device_edit_header.html (+22 -0)

📄 Description

Fixes: #8552

Allow user to assign a device to an empty slot within the Rack UI.

image

This also works for non-racked devices.


🔄 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/8876 **Author:** [@minitriga](https://github.com/minitriga) **Created:** 3/15/2022 **Status:** ❌ Closed **Base:** `develop` ← **Head:** `issue_8552` --- ### 📝 Commits (6) - [`1a81761`](https://github.com/netbox-community/netbox/commit/1a817619c776f20147fc1b6d2e162505a7a36bda) implement assign device for rack - [`018833b`](https://github.com/netbox-community/netbox/commit/018833bf6ef244a94ab61172e5701862e2844d17) Closes: #8552 - Implement Assign Device to Rack - [`aa18281`](https://github.com/netbox-community/netbox/commit/aa18281360b14f73e786848ba9cda171334e5a54) update tenant column - [`f67b0af`](https://github.com/netbox-community/netbox/commit/f67b0af1a8761902584182fc2698a45b29fe34bb) fix ordering and remove debug statement - [`39dd8b7`](https://github.com/netbox-community/netbox/commit/39dd8b7f8aaedf8246c8fa2dff2c8ae99c81396e) Merge branch 'develop' into issue_8552 - [`7e78372`](https://github.com/netbox-community/netbox/commit/7e78372f351c4d1ab8fe345259da157414c3e217) fix bugs ### 📊 Changes **9 files changed** (+189 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `netbox/dcim/forms/models.py` (+18 -0) 📝 `netbox/dcim/svg.py` (+2 -1) 📝 `netbox/dcim/tables/devices.py` (+37 -0) 📝 `netbox/dcim/tables/template_code.py` (+18 -0) 📝 `netbox/dcim/urls.py` (+1 -0) 📝 `netbox/dcim/views.py` (+38 -0) ➕ `netbox/templates/dcim/device_assign.html` (+48 -0) 📝 `netbox/templates/dcim/device_edit.html` (+5 -0) ➕ `netbox/templates/dcim/inc/device_edit_header.html` (+22 -0) </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. IF YOUR PULL REQUEST DOES NOT REFERENCE AN ACCEPTED BUG REPORT OR FEATURE REQUEST, IT WILL BE MARKED AS INVALID AND CLOSED. --> ### Fixes: #8552 <!-- Please include a summary of the proposed changes below. --> Allow user to assign a device to an empty slot within the Rack UI. ![image](https://user-images.githubusercontent.com/26367336/158388986-d306eab4-2b26-423b-ab7a-904d411dcfae.png) This also works for non-racked devices. --- <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:27:13 +01:00
adam closed this issue 2025-12-29 22:27:13 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#13404