From 25c39ce4809ca9a83faed2ae16819a0fdad7b2ec Mon Sep 17 00:00:00 2001 From: Jeremy Stretch Date: Fri, 5 Apr 2024 14:17:58 -0400 Subject: [PATCH] Fixes #15616: Tweak button class for invalid custom links --- netbox/extras/templatetags/custom_links.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netbox/extras/templatetags/custom_links.py b/netbox/extras/templatetags/custom_links.py index 31cd22815..849955cd4 100644 --- a/netbox/extras/templatetags/custom_links.py +++ b/netbox/extras/templatetags/custom_links.py @@ -65,7 +65,7 @@ def custom_links(context, obj): rendered['link'], rendered['link_target'], cl.button_class, rendered['text'] ) except Exception as e: - template_code += f'' \ + template_code += f'' \ f' {cl.name}\n' # Add grouped links to template