aboutsummaryrefslogtreecommitdiffstats
path: root/servo/templates/products/get_info.html
diff options
context:
space:
mode:
Diffstat (limited to 'servo/templates/products/get_info.html')
-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 %}