From 8f7e600b82d34eab51e8b2c6e55442c0bda792af Mon Sep 17 00:00:00 2001 From: =?utf8?q?Je=CC=81re=CC=81my=20Fabre?= Date: Tue, 27 Sep 2016 17:53:10 +0200 Subject: [PATCH] Fix the EventImage in home slider --- app/templates/home/inc/slider.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/app/templates/home/inc/slider.html b/app/templates/home/inc/slider.html index f0031e5c..f938b353 100644 --- a/app/templates/home/inc/slider.html +++ b/app/templates/home/inc/slider.html @@ -4,8 +4,7 @@ {% for slider in home.dynamiccontenthomeslider_set.all %} {% with slider.content_object.images.all|get_type:'slider' as images %} {% if images %} -
  • - +
  • @@ -38,12 +37,13 @@

    {{ slider.content_object.title }}

    - {{ slider.content_object.sub_title }} + {{ slider.content_object.sub_title }} {% if slider.content_object.start %} {% with slider.content_object as event %} - - {% include 'agenda/includes/event_date.html' %} - + {% if slider.content_object.sub_title %} +
    + {% endif %} + {% include 'agenda/includes/event_date.html' %} {% endwith %} {% endif %} {% if slider.content_object.location %} -- 2.39.5