[PR #11037] [MERGED] 11025 fix error tag toast #13732

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/11037
Author: @arthanson
Created: 11/28/2022
Status: Merged
Merged: 11/29/2022
Merged by: @jeremystretch

Base: developHead: 11025-error-tag-toast


📝 Commits (1)

  • 6231b43 11025 fix error tag toast

📊 Changes

1 file changed (+1 additions, -0 deletions)

View changed files

📝 netbox/utilities/templatetags/helpers.py (+1 -0)

📄 Description

Fixes: #11025

Fix error tag toast to show as error. Note: as specified in the ticket this is caused by MESSAGE_TAGS in settings.py, I'm assuming that should be there for some reason so fixed the status mapping to account for it instead of removing the setting.


🔄 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/11037 **Author:** [@arthanson](https://github.com/arthanson) **Created:** 11/28/2022 **Status:** ✅ Merged **Merged:** 11/29/2022 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `11025-error-tag-toast` --- ### 📝 Commits (1) - [`6231b43`](https://github.com/netbox-community/netbox/commit/6231b43e17eaaf8bd29997dcb1a145f081eaff43) 11025 fix error tag toast ### 📊 Changes **1 file changed** (+1 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `netbox/utilities/templatetags/helpers.py` (+1 -0) </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 approved and assigned prior to opening a pull request. This helps avoid waste time and effort on a proposed change that we might not be able to accept. IF YOUR PULL REQUEST DOES NOT REFERENCE AN ISSUE WHICH HAS BEEN ASSIGNED TO YOU, IT WILL BE CLOSED AUTOMATICALLY. Please specify your assigned issue number on the line below. --> ### Fixes: #11025 <!-- Please include a summary of the proposed changes below. --> Fix error tag toast to show as error. *Note:* as specified in the ticket this is caused by MESSAGE_TAGS in settings.py, I'm assuming that should be there for some reason so fixed the status mapping to account for it instead of removing the setting. --- <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:20:30 +01:00
adam closed this issue 2025-12-29 23:20:30 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#13732