Same filename and directory in other branches
  1. 8.x-3.x modules/views_slideshow_cycle/templates/views-slideshow-cycle.html.twig 1 comment
  2. 8.x-4.x modules/views_slideshow_cycle/templates/views-slideshow-cycle.html.twig 1 comment

Default theme implementation for a views slideshow with cycle main plugin.

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 also

_views_slideshow_preprocess_views_view_slideshow()

File

modules/views_slideshow_cycle/templates/views-slideshow-cycle.html.twig

View source
  1. {#
  2. /**
  3. * @file
  4. * Default theme implementation for a views slideshow with cycle main plugin.
  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. <div class="skin-{{ skin }}">
  18. {% if top_widget_rendered %}
  19. <div class="views-slideshow-controls-top clearfix">
  20. {{ top_widget_rendered }}
  21. </div>
  22. {% endif %}
  23. {{ slideshow }}
  24. {% if bottom_widget_rendered %}
  25. <div class="views-slideshow-controls-bottom clearfix">
  26. {{ bottom_widget_rendered }}
  27. </div>
  28. {% endif %}
  29. </div>

Related topics