From 2a277dbcb282e50bf6c6e54c58aac33b5d16b9ea Mon Sep 17 00:00:00 2001 From: =?utf8?q?Je=CC=81re=CC=81my=20Fabre?= Date: Wed, 15 Feb 2017 10:58:20 +0100 Subject: [PATCH] Add booking button --- app/templates/home/inc/slider.html | 11 +++++++++++ 1 file changed, 11 insertions(+) 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 %} +
-- 2.39.5