Skip to content

Commit

Permalink
Fixes #15616: Tweak button class for invalid custom links
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremystretch committed Apr 5, 2024
1 parent 0abd094 commit 25c39ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion netbox/extras/templatetags/custom_links.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'<a class="btn btn-sm btn-outline-dark" disabled="disabled" title="{e}">' \
template_code += f'<a class="btn btn-sm btn-outline-secondary" disabled="disabled" title="{e}">' \
f'<i class="mdi mdi-alert"></i> {cl.name}</a>\n'

# Add grouped links to template
Expand Down

0 comments on commit 25c39ce

Please sign in to comment.