mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Introduce badge template tag
This commit is contained in:
1
netbox/templates/utilities/templatetags/badge.html
Normal file
1
netbox/templates/utilities/templatetags/badge.html
Normal file
@@ -0,0 +1 @@
|
||||
{% if value or show_empty %}<span class="badge">{{ value }}</span>{% endif %}
|
Reference in New Issue
Block a user