2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-08-14 15:41:10 +00:00

Improve build base rendering

- Consolidate style
- Fix rendering of part pricing
This commit is contained in:
Oliver Walters
2020-04-12 00:31:59 +10:00
parent a65c80dbf3
commit fd8273e3e2
3 changed files with 71 additions and 52 deletions

View File

@@ -4,7 +4,7 @@
{% decimal part.total_stock %}
{% if part.total_stock == 0 %}
<span class='label label-danger'>{% trans "No Stock" %}</span>
<span class='label label-danger label-right'>{% trans "No Stock" %}</span>
{% elif part.total_stock < part.minimum_stock %}
<span class='label label-warning'>{% trans "Low Stock" %}</span>
<span class='label label-warning label-right'>{% trans "Low Stock" %}</span>
{% endif %}