From: Guillaume Pellerin Date: Thu, 24 Sep 2015 14:50:02 +0000 (+0200) Subject: fix price display X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=eacd098c8cfa8ec8fd16c32a58f26e975981b40e;p=diggersdigest.git fix price display --- 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 %}