[PR #15954] [MERGED] 15148 add copy button to config context #14731

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/15954
Author: @arthanson
Created: 5/4/2024
Status: Merged
Merged: 5/9/2024
Merged by: @jeremystretch

Base: developHead: 15148-copy-config-context


📝 Commits (2)

  • 5b7c392 15148 add copy button to config context
  • 653e770 Merge configcontext_format.html into configcontext_data.html

📊 Changes

5 files changed (+29 additions, -37 deletions)

View changed files

📝 netbox/templates/extras/configcontext.html (+2 -8)
📝 netbox/templates/extras/inc/configcontext_data.html (+14 -2)
netbox/templates/extras/inc/configcontext_format.html (+0 -6)
netbox/templates/extras/inc/format_toggle.html (+4 -0)
📝 netbox/templates/extras/object_configcontext.html (+9 -21)

📄 Description

Fixes: #15148

Adds a copy button to the config context area - Added it to the panel title area next to the json/yaml format buttons (see screenshot)

Monosnap Dist-Switch-1 | NetBox 2024-05-06 07-36-09


🔄 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/15954 **Author:** [@arthanson](https://github.com/arthanson) **Created:** 5/4/2024 **Status:** ✅ Merged **Merged:** 5/9/2024 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `15148-copy-config-context` --- ### 📝 Commits (2) - [`5b7c392`](https://github.com/netbox-community/netbox/commit/5b7c392d81becb3757af8f67ea2b855654df1d98) 15148 add copy button to config context - [`653e770`](https://github.com/netbox-community/netbox/commit/653e77064815b3888bfc56ba64934b7bd8804cc7) Merge configcontext_format.html into configcontext_data.html ### 📊 Changes **5 files changed** (+29 additions, -37 deletions) <details> <summary>View changed files</summary> 📝 `netbox/templates/extras/configcontext.html` (+2 -8) 📝 `netbox/templates/extras/inc/configcontext_data.html` (+14 -2) ➖ `netbox/templates/extras/inc/configcontext_format.html` (+0 -6) ➕ `netbox/templates/extras/inc/format_toggle.html` (+4 -0) 📝 `netbox/templates/extras/object_configcontext.html` (+9 -21) </details> ### 📄 Description ### Fixes: #15148 Adds a copy button to the config context area - Added it to the panel title area next to the json/yaml format buttons (see screenshot) ![Monosnap Dist-Switch-1 | NetBox 2024-05-06 07-36-09](https://github.com/netbox-community/netbox/assets/99642/5b7b4d25-6f31-4579-b714-ab16ae045185) --- <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:26:20 +01:00
adam closed this issue 2025-12-29 23:26:21 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#14731