From: Jérémy Fabre Date: Wed, 15 Feb 2017 09:58:20 +0000 (+0100) Subject: Add booking button X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=2a277dbcb282e50bf6c6e54c58aac33b5d16b9ea;p=mezzo.git Add booking button --- diff --git a/app/templates/home/inc/slider.html b/app/templates/home/inc/slider.html index 64f307de..60fb9633 100644 --- a/app/templates/home/inc/slider.html +++ b/app/templates/home/inc/slider.html @@ -20,6 +20,17 @@
+ + {% if slider.content_object.prices.all.0|floatformat != '0' and slider.content_object.prices.all|length > 0 %} + {% for price in slider.content_object.prices.all %} + {% if forloop.first %} +
+ {% trans "Reserve" %} +
+ {% endif %} + {% endfor %} + {% endif %} +