2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-20 05:46:34 +00:00

Update badges

This commit is contained in:
Oliver Walters
2019-09-19 23:38:15 +10:00
parent 3c98cd87a7
commit b3ea2bfb9a
2 changed files with 6 additions and 2 deletions

View File

@ -12,7 +12,9 @@
{% if child.description %}
<i> - {{ child.description }}</i>
{% endif %}
<span class='badge'>{{ child.partcount }}</span>
{% if child.partcount > 0 %}
<span class='badge'>{{ child.partcount }} Part{% if child.partcount > 1 %}s{% endif %}</span>
{% endif %}
</li>
{% endfor %}
</ul>