]> git.parisson.com Git - diggersdigest.git/commitdiff
fix shop menu
authorGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Thu, 24 Sep 2015 12:18:35 +0000 (14:18 +0200)
committerGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Thu, 24 Sep 2015 12:18:35 +0000 (14:18 +0200)
app/templates/shop/includes/user_panel_header.html

index db8f64c420d3ed23cbb134f2aefdae6d519c4af8..8f5b3780b1944918619c4ebcf80f1512b9cfc88d 100644 (file)
@@ -1,15 +1,15 @@
 {% load i18n shop_tags mezzanine_tags %}
 {% spaceless %}
-<a href="{% url "shop_cart" %}">
-<span class="glyphicon glyphicon-shopping-cart"></span>
-{% blocktrans count request.cart.total_quantity as cart_quantity %}1 item{% plural %}{{ cart_quantity }} items{% endblocktrans %}
-{% trans "in cart" %}:
-{{ request.cart.total_price|currency }}</a><br>
 {% if request.cart.total_quantity != 0 %}
 <a href="{% url "shop_checkout" %}" class="btn btn-primary">
     {% if request.session.order.step %}{% trans "Return to Checkout" %}{% else %}{% trans "Go to Checkout" %}{% endif %}
 </a><br>
 {% endif %}
+<a href="{% url "shop_cart" %}">
+<span class="glyphicon glyphicon-shopping-cart"></span>
+{% blocktrans count request.cart.total_quantity as cart_quantity %}1 item{% plural %}{{ cart_quantity }} items{% endblocktrans %}
+{% trans "in cart" %}:
+{{ request.cart.total_price|currency }}</a><br>
 {% if settings.SHOP_USE_WISHLIST %}
 <a href="{% url "shop_wishlist" %}" class="btn-wishlist">
 <span class="glyphicon glyphicon-star"></span>