[PR #4407] [MERGED] Closes #4402: Rework template content registration for plugins #12839

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/4407
Author: @jeremystretch
Created: 3/25/2020
Status: Merged
Merged: 3/26/2020
Merged by: @jeremystretch

Base: 3351-pluginsHead: 4402-plugins-template-content


📝 Commits (2)

  • 68a0e76 Rework template content registration to work like menu items
  • 5540079 Add documentation for PluginTemplateContent

📊 Changes

4 files changed (+68 additions, -45 deletions)

View changed files

📝 docs/plugins/development.md (+38 -0)
📝 netbox/extras/plugins/__init__.py (+24 -32)
📝 netbox/extras/plugins/signals.py (+3 -9)
📝 netbox/extras/templatetags/plugins.py (+3 -4)

📄 Description

Closes #4402

  • Reimplement the template content registration mechanism to mirror that for menu items (#4401)
  • Expand documentation

🔄 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/4407 **Author:** [@jeremystretch](https://github.com/jeremystretch) **Created:** 3/25/2020 **Status:** ✅ Merged **Merged:** 3/26/2020 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `3351-plugins` ← **Head:** `4402-plugins-template-content` --- ### 📝 Commits (2) - [`68a0e76`](https://github.com/netbox-community/netbox/commit/68a0e76ca61d233bd5efc39565c99a7215b04b91) Rework template content registration to work like menu items - [`5540079`](https://github.com/netbox-community/netbox/commit/5540079e81edeeb62dd0dc39e4517d8e733b0996) Add documentation for PluginTemplateContent ### 📊 Changes **4 files changed** (+68 additions, -45 deletions) <details> <summary>View changed files</summary> 📝 `docs/plugins/development.md` (+38 -0) 📝 `netbox/extras/plugins/__init__.py` (+24 -32) 📝 `netbox/extras/plugins/signals.py` (+3 -9) 📝 `netbox/extras/templatetags/plugins.py` (+3 -4) </details> ### 📄 Description ### Closes #4402 - Reimplement the template content registration mechanism to mirror that for menu items (#4401) - Expand documentation --- <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:54 +01:00
adam closed this issue 2025-12-29 22:23:54 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#12839