You are here

views-load-more-pager.html.twig in Views Load More 2.x

Same filename and directory in other branches
  1. 8 templates/views-load-more-pager.html.twig
{% if next_url or end_text %}
  <nav class="pager pager--load-more" role="navigation" aria-labelledby="pagination-heading">
    <h4 id="pagination-heading" class="visually-hidden">{{ 'Pagination'|t }}</h4>
    {% if next_url %}
      <ul class="pager__items js-pager__items">
        <li class="pager__item">
          <a href="{{ next_url }}">{{ more_button_text }}</a>
        </li>
      </ul>
    {% elseif end_text %}
      <div class="pager__items pager__items--end">
        {{ end_text }}
      </div>
    {% endif %}
  </nav>
{% endif %}

File

templates/views-load-more-pager.html.twig
View source
  1. {% if next_url or end_text %}
  2. <nav class="pager pager--load-more" role="navigation" aria-labelledby="pagination-heading">
  3. <h4 id="pagination-heading" class="visually-hidden">{{ 'Pagination'|t }}</h4>
  4. {% if next_url %}
  5. <ul class="pager__items js-pager__items">
  6. <li class="pager__item">
  7. <a href="{{ next_url }}">{{ more_button_text }}</a>
  8. </li>
  9. </ul>
  10. {% elseif end_text %}
  11. <div class="pager__items pager__items--end">
  12. {{ end_text }}
  13. </div>
  14. {% endif %}
  15. </nav>
  16. {% endif %}