]> git.parisson.com Git - mezzo.git/commitdiff
Remove event subtitle from home slider
authorJérémy Fabre <Jeremy@iMac-de-Jeremy.local>
Tue, 11 Oct 2016 15:01:29 +0000 (17:01 +0200)
committerJérémy Fabre <Jeremy@iMac-de-Jeremy.local>
Tue, 11 Oct 2016 15:01:29 +0000 (17:01 +0200)
app/static/src/sass/modules/sliders/_slider-home.scss
app/templates/home/inc/slider.html

index c5112208cb3a299d8080f8d178941153615f3ef0..0f9f89f81c35381b56eb8816a299bf64094193b8 100644 (file)
@@ -82,6 +82,7 @@ $module: ".slider-home";
                     width: 14px;
                     height: 14px;
                     background: white;
+                    border-bottom: 0 !important;
                     &:hover {
                         background: $color-main;
                     }
index f938b3531fe85f2b1b7495526fc005c96e7a3690..8cc3630fc54bdd246b7e85c28567668a1703c228 100644 (file)
@@ -37,7 +37,9 @@
                                                 <div class="article-box__content tal">
                                                     <h3 class="article-box__title">{{ slider.content_object.title }}</h3>
                                                     <div class="article-box__subtitle">
-                                                        {{ slider.content_object.sub_title }}
+                                                        {% if slider.content_type.model != 'event' %}
+                                                            {{ slider.content_object.sub_title }}
+                                                        {% endif %}
                                                         {% if slider.content_object.start %}
                                                             {% with slider.content_object as event %}
                                                                 {% if slider.content_object.sub_title %}