[PR #5958] [CLOSED] Closes: #5943 - Takes plugin namespace into account in certain template tags #13074

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/5958
Author: @DanSheps
Created: 3/10/2021
Status: Closed

Base: featureHead: feature-templatetags-pluginnamespace


📝 Commits (2)

  • ba338bb #5943 - Permits template tags to be used in the plugins namespace for certain filters
  • f14bcf6 Remove secret templates

📊 Changes

6 files changed (+83 additions, -15 deletions)

View changed files

📝 netbox/utilities/tables.py (+4 -9)
netbox/utilities/templates/buttons/tr_changelog.html (+3 -0)
netbox/utilities/templates/buttons/tr_delete.html (+3 -0)
netbox/utilities/templates/buttons/tr_edit.html (+3 -0)
📝 netbox/utilities/templatetags/buttons.py (+55 -4)
📝 netbox/utilities/templatetags/helpers.py (+15 -2)

📄 Description

Closes: #5943

This PR will take into account plugin namespaces for templatetags, specifically buttons.


🔄 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/5958 **Author:** [@DanSheps](https://github.com/DanSheps) **Created:** 3/10/2021 **Status:** ❌ Closed **Base:** `feature` ← **Head:** `feature-templatetags-pluginnamespace` --- ### 📝 Commits (2) - [`ba338bb`](https://github.com/netbox-community/netbox/commit/ba338bbb3fb1aaf185a102208f310f96ee41176e) #5943 - Permits template tags to be used in the plugins namespace for certain filters - [`f14bcf6`](https://github.com/netbox-community/netbox/commit/f14bcf614c70159c295e6fd9111cd7cc84124d11) Remove secret templates ### 📊 Changes **6 files changed** (+83 additions, -15 deletions) <details> <summary>View changed files</summary> 📝 `netbox/utilities/tables.py` (+4 -9) ➕ `netbox/utilities/templates/buttons/tr_changelog.html` (+3 -0) ➕ `netbox/utilities/templates/buttons/tr_delete.html` (+3 -0) ➕ `netbox/utilities/templates/buttons/tr_edit.html` (+3 -0) 📝 `netbox/utilities/templatetags/buttons.py` (+55 -4) 📝 `netbox/utilities/templatetags/helpers.py` (+15 -2) </details> ### 📄 Description ### Closes: #5943 This PR will take into account plugin namespaces for templatetags, specifically buttons. --- <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:25:15 +01:00
adam closed this issue 2025-12-29 22:25:15 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#13074