[PR #9564] [MERGED] Closes #9517: Linkify Power Port on Power Outlet Object View #13490

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/9564
Author: @huntabyte
Created: 6/20/2022
Status: Merged
Merged: 6/20/2022
Merged by: @jeremystretch

Base: developHead: feature-9517


📝 Commits (1)

  • e7620b0 Closes #9517: Linkify Power Port on Power Outlet Object View

📊 Changes

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

View changed files

📝 netbox/templates/dcim/poweroutlet.html (+1 -1)

📄 Description

Fixes: #9517

Added links to the Power Port on the Power Outlet view page.
 

Loom_WiKY6hKSnu

To do so, I added linkify and placeholder to the respective table row:

<tr>
  <th scope="row">Power Port</th>
  <td>{{ object.power_port|linkify|placeholder }}</td>
</tr>

🔄 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/9564 **Author:** [@huntabyte](https://github.com/huntabyte) **Created:** 6/20/2022 **Status:** ✅ Merged **Merged:** 6/20/2022 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `feature-9517` --- ### 📝 Commits (1) - [`e7620b0`](https://github.com/netbox-community/netbox/commit/e7620b0dd08b1f9ce16874a10e0e0accbf5a9284) Closes #9517: Linkify Power Port on Power Outlet Object View ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `netbox/templates/dcim/poweroutlet.html` (+1 -1) </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: #9517 <!-- Please include a summary of the proposed changes below. --> Added links to the _Power Port_ on the _Power Outlet_ view page. &nbsp;<br> ![Loom_WiKY6hKSnu](https://user-images.githubusercontent.com/64506580/174509921-02790669-a28c-4987-9d77-3c6320cd86cc.png) To do so, I added linkify and placeholder to the respective table row: ```django <tr> <th scope="row">Power Port</th> <td>{{ object.power_port|linkify|placeholder }}</td> </tr> ``` --- <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:19:10 +01:00
adam closed this issue 2025-12-29 23:19:10 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#13490