templates/paginations/pagination.html.twig line 1

Open in your IDE?
  1. {% if pageCount > 1 %}
  2. <div class="pagination-area mt-20 mb-20">
  3.                         <nav aria-label="Page navigation example">
  4. <ul class="pagination justify-content-start">
  5.     {% if previous is defined %}
  6.         <li class="page-item">
  7.             <a class="page-link" href="{{ path(route, query|merge({(pageParameterName): previous})) }}"<i class="fi-rs-arrow-small-left"></i></a>
  8.         </li>
  9.     {% endif %}
  10.     {% for page in pagesInRange %}
  11.         {% if page != current %}
  12.             <li class=" page-item active">
  13.                 <a class="page-link" href="{{ path(route, query|merge({(pageParameterName): page})) }}">{{ page }}</a>
  14.             </li>
  15.         {% else %}
  16.             <li class="sm-d">
  17.                 <a class="page-link" href="#">{{ page }}</a>
  18.             </li>
  19.         {% endif %}
  20.     {% endfor %}
  21.     {% if next is defined %}
  22.         <li>
  23.             <a class="page-link" href="{{ path(route, query|merge({(pageParameterName): next})) }}"><i class="fi-rs-arrow-small-right"></i></a>
  24.         </li>
  25.     {% endif %}
  26. </ul>
  27.                         </nav>
  28.         </div>
  29. {% endif %}
  30.