Same filename and directory in other branches
Default theme implementation for a views slideshow.
Available variables:
- bottom_widget_rendered: Widget under the slideshow with controls/data.
- skin: The skin being applied to the slideshow.
- slideshow: The slideshow.
- top_widget_rendered: Widget above the slideshow with controls/data.
Voir aussi
_views_slideshow_preprocess_views_view_slideshow()
Fichier
-
templates/
views-view-slideshow.html.twig
View source
- {#
- /**
- * @file
- * Default theme implementation for a views slideshow.
- *
- * Available variables:
- * - bottom_widget_rendered: Widget under the slideshow with controls/data.
- * - skin: The skin being applied to the slideshow.
- * - slideshow: The slideshow.
- * - top_widget_rendered: Widget above the slideshow with controls/data.
- *
- * @see _views_slideshow_preprocess_views_view_slideshow()
- *
- * @ingroup vss_templates
- */
- #}
- {% if slideshow %}
- <div class="skin-{{ skin }}">
- {% if top_widget_rendered %}
- <div class="views-slideshow-controls-top clearfix">
- {{ top_widget_rendered }}
- </div>
- {% endif %}
-
- {{ slideshow }}
-
- {% if bottom_widget_rendered %}
- <div class="views-slideshow-controls-bottom clearfix">
- {{ bottom_widget_rendered }}
- </div>
- {% endif %}
- </div>
- {% endif %}