aboutsummaryrefslogtreecommitdiffstats
path: root/servo/templates/products
diff options
context:
space:
mode:
authorFilipp Lepalaan <filipp@mac.com>2015-10-01 00:31:02 +0300
committerFilipp Lepalaan <filipp@mac.com>2015-10-01 00:31:02 +0300
commit0c6d66e7ced5f1c7843eba4221b08db79e56a021 (patch)
treec16473f761eb5d26d2a3d1a4ceb2f9f2875b44e4 /servo/templates/products
parentec6276e2fb2bb0785f14469bbe8eb292f4a6e6b7 (diff)
downloadServo-0c6d66e7ced5f1c7843eba4221b08db79e56a021.tar.gz
Servo-0c6d66e7ced5f1c7843eba4221b08db79e56a021.tar.bz2
Servo-0c6d66e7ced5f1c7843eba4221b08db79e56a021.zip
Inventory bug fixes
and performance enhancements
Diffstat (limited to 'servo/templates/products')
-rwxr-xr-xservo/templates/products/get_info.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/servo/templates/products/get_info.html b/servo/templates/products/get_info.html
index be024e2..262d1e8 100755
--- a/servo/templates/products/get_info.html
+++ b/servo/templates/products/get_info.html
@@ -38,7 +38,7 @@
{% endifchanged %}
<dl class="dl-horizontal">
<dt>{% trans "Stocked" %}</dt>
- <dd>{{ i.amount_stocked }}</dd>
+ <dd>{{ i.amount_stocked|default:"-" }}</dd>
<dt>{% trans "Ordered" %}</dt>
<dd>{{ i.amount_ordered|default:"-" }}</dd>
<dt>{% trans "Reserved" %}</dt>
@@ -56,4 +56,4 @@
<a class="btn btn-default" href="{% url 'products-edit_product' pk=product.pk group='all' %}">{% trans "Edit" %}</a>
{% endif %}
<button type="submit" class="btn btn-primary" data-dismiss="modal">{% trans "Done" %}</button>
-{% endblock footer %} \ No newline at end of file
+{% endblock footer %}