templates/_parts/pagination-endless.html.twig line 1

Open in your IDE?
  1. {% set class = class|default('') %}
  2. <div class="pagination-endless {{ class }}" data-id="{{ pageParameterName }}" data-pagination-nav="{{ pageParameterName }}">
  3.     {% if pageCount > 1 %}
  4.         {% if next is defined %}
  5. {#            <a href="{{ path(route, query|merge({(pageParameterName): next})) }}" class="pagination-endless__link" data-endless-action>#}
  6. {#                {% block next %}#}
  7. {#                    Показать еще#}
  8. {#                {% endblock %}#}
  9. {#            </a>#}
  10.             <a href="{{ path(route, query|merge({(pageParameterName): next})) }}" class="link pagination-endless__link" data-endless-action>
  11.                 {% block next %}
  12.                     <span class="link__inner plannings-list__next">
  13.                         <span class="link__title-wrap">
  14.                             <span class="link__title text__main01">
  15.                                 Показать еще
  16.                             </span>
  17.                             <span class="link__title link__title_duplicate text__main01">
  18.                                 Показать еще
  19.                             </span>
  20.                         </span>
  21.                         <span class="link__arrow plannings-list__next-icon">
  22.                             {% include '_parts/icons/arrow-mini.svg' %}
  23.                         </span>
  24.                     </span>
  25.                 {% endblock %}
  26.             </a>
  27.         {% endif %}
  28.     {% endif %}
  29. </div>