mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Closes #8182: Introduce checkmark template tag
This commit is contained in:
5
netbox/utilities/templates/helpers/checkmark.html
Normal file
5
netbox/utilities/templates/helpers/checkmark.html
Normal file
@@ -0,0 +1,5 @@
|
||||
{% if value %}
|
||||
<i class="mdi mdi-check-bold text-success" title="{{ true_label }}"></i>
|
||||
{% elif show_false %}
|
||||
<i class="mdi mdi-close-thick text-danger" title="{{ false_label }}"></i>
|
||||
{% endif %}
|
Reference in New Issue
Block a user