From eacd098c8cfa8ec8fd16c32a58f26e975981b40e Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Thu, 24 Sep 2015 16:50:02 +0200 Subject: [PATCH] fix price display --- app/templates/shop/includes/price.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/templates/shop/includes/price.html b/app/templates/shop/includes/price.html index 75ebf75..0a56af1 100644 --- a/app/templates/shop/includes/price.html +++ b/app/templates/shop/includes/price.html @@ -7,11 +7,11 @@ {% if variation.has_price %} {% if product.available %} {% if not variation.unit_price and not category %} - {% trans "Price" %} : {% trans "Make an offer" %} + {% if not category %}{% trans "Price" %} : {% endif %}{% trans "Make an offer" %} {% elif not variation.unit_price and category %} - {% trans "Price" %} : {% trans "Make an offer" %} + {% if not category %}{% trans "Price" %} : {% endif %}{% trans "Make an offer" %} {% else %} - {% trans "Price" %} : {{ variation.unit_price|currency }} + {% if not category %}{% trans "Price" %} : {% endif %}{{ variation.unit_price|currency }} {% endif %} {% endif %} {% else %} -- 2.39.5