[PR #3528] [CLOSED] Fix custom scripts attributes usage and examples #12573

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/3528
Author: @stoned
Created: 9/22/2019
Status: Closed

Base: developHead: fix-script-attributes


📝 Commits (1)

  • c29e018 Fix custom scripts attributes usage and examples

📊 Changes

4 files changed (+8 additions, -8 deletions)

View changed files

📝 netbox/extras/scripts.py (+3 -3)
📝 netbox/scripts/examples.py (+3 -3)
📝 netbox/templates/extras/script.html (+1 -1)
📝 netbox/templates/extras/script_list.html (+1 -1)

📄 Description

Fixes:

This fix the custom script attributes usage and examples:

  • the human-friendly name of the script and its description are displayed in scripts list and script pages
  • the field_order is used to display the script form

🔄 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/3528 **Author:** [@stoned](https://github.com/stoned) **Created:** 9/22/2019 **Status:** ❌ Closed **Base:** `develop` ← **Head:** `fix-script-attributes` --- ### 📝 Commits (1) - [`c29e018`](https://github.com/netbox-community/netbox/commit/c29e01843ff95a4b8c4c73edf1d3795e81a98699) Fix custom scripts attributes usage and examples ### 📊 Changes **4 files changed** (+8 additions, -8 deletions) <details> <summary>View changed files</summary> 📝 `netbox/extras/scripts.py` (+3 -3) 📝 `netbox/scripts/examples.py` (+3 -3) 📝 `netbox/templates/extras/script.html` (+1 -1) 📝 `netbox/templates/extras/script_list.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: <!-- Please include a summary of the proposed changes below. --> This fix the custom script attributes usage and examples: - the human-friendly name of the script and its description are displayed in scripts list and script pages - the field_order is used to display the script form --- <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:22:24 +01:00
adam closed this issue 2025-12-29 22:22:24 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#12573