mirror of
https://github.com/inventree/InvenTree.git
synced 2026-04-29 14:24:25 +00:00
replace labels with badges
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
{% load i18n %}
|
||||
|
||||
{% if value %}
|
||||
<span class='label label-success'>{% trans 'Yes' %}</span>
|
||||
<span class='badge rounded-pill bg-success'>{% trans 'Yes' %}</span>
|
||||
{% else %}
|
||||
<span class='label label-warning'>{% trans 'No' %}</span>
|
||||
<span class='badge rounded-pill bg-danger'>{% trans 'No' %}</span>
|
||||
{% endif %}
|
||||
Reference in New Issue
Block a user