[PR #17891] [MERGED] Fixes #17700: Fix warning when no scripts are found within a script module #15221

Closed
opened 2025-12-30 00:20:42 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/17891
Author: @jeremystretch
Created: 10/29/2024
Status: Merged
Merged: 10/30/2024
Merged by: @jeremystretch

Base: developHead: 17700-missing-scripts-message


📝 Commits (1)

  • 1acb040 Fixes #17700: Fix warning when no scripts are found within a script module

📊 Changes

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

View changed files

📝 netbox/templates/extras/script_list.html (+92 -89)

📄 Description

Fixes: #17700

  • Fix evaluation of module.scripts to ensure warning is displayed correctly
  • Enable translation of error message

🔄 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/17891 **Author:** [@jeremystretch](https://github.com/jeremystretch) **Created:** 10/29/2024 **Status:** ✅ Merged **Merged:** 10/30/2024 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `17700-missing-scripts-message` --- ### 📝 Commits (1) - [`1acb040`](https://github.com/netbox-community/netbox/commit/1acb040afb5fe733172f3022e3b3acec7d808d59) Fixes #17700: Fix warning when no scripts are found within a script module ### 📊 Changes **1 file changed** (+92 additions, -89 deletions) <details> <summary>View changed files</summary> 📝 `netbox/templates/extras/script_list.html` (+92 -89) </details> ### 📄 Description ### Fixes: #17700 - Fix evaluation of `module.scripts` to ensure warning is displayed correctly - Enable translation of error message --- <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-30 00:20:42 +01:00
adam closed this issue 2025-12-30 00:20:42 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#15221