views-infinite-scroll-pager.html.twig in Open Social 8.3
Same filename and directory in other branches
- 8.9 themes/socialbase/templates/views/views-infinite-scroll-pager.html.twig
- 8 themes/socialbase/templates/views/views-infinite-scroll-pager.html.twig
- 8.2 themes/socialbase/templates/views/views-infinite-scroll-pager.html.twig
- 8.4 themes/socialbase/templates/views/views-infinite-scroll-pager.html.twig
- 8.5 themes/socialbase/templates/views/views-infinite-scroll-pager.html.twig
- 8.6 themes/socialbase/templates/views/views-infinite-scroll-pager.html.twig
- 8.7 themes/socialbase/templates/views/views-infinite-scroll-pager.html.twig
- 8.8 themes/socialbase/templates/views/views-infinite-scroll-pager.html.twig
Theme override for a views infinite scroll pager.
Available variables:
- items: List of pager items.
See also
template_preprocess_views_infinite_scroll_pager()
File
themes/socialbase/templates/views/views-infinite-scroll-pager.html.twigView source
- {#
- /**
- * @file
- * Theme override for a views infinite scroll pager.
- *
- * Available variables:
- * - items: List of pager items.
- *
- * @ingroup templates
- *
- * @see template_preprocess_views_infinite_scroll_pager()
- */
- #}
- {{ attach_library('socialbase/pagination') }}
- {% if items.next %}
- <nav aria-labelledby="pagination-heading">
- <h4 class="sr-only">{{ 'Pagination'|t }}</h4>
- <ul{{ attributes.addClass('mini-pager') }}>
- <li class="pager__item pager__item--next">
- <a class="btn btn-flat" href="{{ items.next.href }}" title="{{ 'Go to next page'|t }}" rel="next"{{ items.next.attributes|without('href', 'title', 'rel') }}>
- <span>{{ options.button_text }}</span>
- <span aria-hidden="true">
- <svg class="icon-small">
- <use xlink:href="#icon-expand_more"> </use>
- </svg>
- </span>
- </a>
- </li>
- </ul>
- </nav>
- {% endif %}
-