mirror of
https://github.com/inventree/InvenTree.git
synced 2025-08-10 13:51:01 +00:00
translations fo true/false yes /no
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
{% load i18n %}
|
||||
|
||||
{% if value %}
|
||||
<span class='label label-success'>Yes</span>
|
||||
<span class='label label-success'>{% trans 'Yes' %}</span>
|
||||
{% else %}
|
||||
<span class='label label-warning'>No</span>
|
||||
<span class='label label-warning'>{% trans 'No' %}</span>
|
||||
{% endif %}
|
Reference in New Issue
Block a user