comparison modules/contrib/views_slideshow/templates/views-view-slideshow.html.twig @ 5:c69a71b4f40f

Add slideshow module
author Chris Cannam
date Thu, 07 Dec 2017 14:46:23 +0000
parents
children
comparison
equal deleted inserted replaced
4:8948ab6c87d2 5:c69a71b4f40f
1 {#
2 /**
3 * @file
4 * Default theme implementation for a views slideshow.
5 *
6 * Available variables:
7 * - bottom_widget_rendered: Widget under the slideshow with controls/data.
8 * - skin: The skin being applied to the slideshow.
9 * - slideshow: The slideshow.
10 * - top_widget_rendered: Widget above the slideshow with controls/data.
11 *
12 * @see _views_slideshow_preprocess_views_view_slideshow()
13 *
14 * @ingroup vss_templates
15 */
16 #}
17 {% if slideshow %}
18 <div class="skin-{{ skin }}">
19 {% if top_widget_rendered %}
20 <div class="views-slideshow-controls-top clearfix">
21 {{ top_widget_rendered }}
22 </div>
23 {% endif %}
24
25 {{ slideshow }}
26
27 {% if bottom_widget_rendered %}
28 <div class="views-slideshow-controls-bottom clearfix">
29 {{ bottom_widget_rendered }}
30 </div>
31 {% endif %}
32 </div>
33 {% endif %}