2
0
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:
Oliver
2021-10-28 17:41:40 +11:00
parent c4fd9b7177
commit f8ac016d60
19 changed files with 82 additions and 181 deletions
+2 -2
View File
@@ -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 %}