aboutsummaryrefslogtreecommitdiffstats
path: root/servo/templates/orders/products.html
diff options
context:
space:
mode:
authorFilipp Lepalaan <filipp@mac.com>2015-09-25 20:03:27 +0300
committerFilipp Lepalaan <filipp@mac.com>2015-09-25 20:03:27 +0300
commit5607d28f8f1187623b58241efb59193b5a0b868f (patch)
treedb7769eca28294af248c4d5d5514fe6e1fba7fbb /servo/templates/orders/products.html
parent482289b36886b208f2c3ab8d2a3d539c4277b359 (diff)
downloadServo-5607d28f8f1187623b58241efb59193b5a0b868f.tar.gz
Servo-5607d28f8f1187623b58241efb59193b5a0b868f.tar.bz2
Servo-5607d28f8f1187623b58241efb59193b5a0b868f.zip
UI improvements
Diffstat (limited to 'servo/templates/orders/products.html')
-rwxr-xr-xservo/templates/orders/products.html5
1 files changed, 4 insertions, 1 deletions
diff --git a/servo/templates/orders/products.html b/servo/templates/orders/products.html
index 4476ae8..72540ab 100755
--- a/servo/templates/orders/products.html
+++ b/servo/templates/orders/products.html
@@ -88,7 +88,10 @@
{% endfor %}
</tbody>
</table>
-<a href="{% url 'products-choose' order_id=order.pk %}" data-modal="#modal" class="btn {% if not order.is_editable %}disabled{% endif %} pull-right"><i class="icon-plus"></i> {% trans "Add Product" %}</a>
+<div class="pull-right">
+ <a class="btn {% if not order.can_order_products %}disabled{% endif %}" href="{% url 'orders-reserve_products' order.pk %}" data-modal="#modal">{% trans "Reserve Products" %}</a>
+ <a href="{% url 'products-choose' order_id=order.pk %}" data-modal="#modal" class="btn {% if not order.is_editable %}disabled{% endif %}"><i class="icon-plus"></i> {% trans "Add Product" %}</a>
+</div>
{% endwith %}
<p class="clearfix">
<hr/>