custom/plugins/NrbnSenertecTheme/src/Resources/views/storefront/component/pagination.html.twig line 1

Open in your IDE?
  1. {% sw_extends '@Storefront/storefront/component/pagination.html.twig' %}
  2. {% block component_pagination %}
  3.     <div class="pagination nrbn-pagination {{ cls }}">
  4.         <div class="nrbn-pagination-prev{% if currentPage == 1 %} disabled{% endif %}">
  5.             <input type="radio"
  6.                 {% if currentPage == 1 %}disabled="disabled"{% endif %}
  7.                 name="p"
  8.                 id="p-prev"
  9.                 value="{{ currentPage - 1 }}"
  10.                 class="d-none"
  11.                 title="pagination">
  12.             <label class="nrbn-pagination-label" for="p-prev">
  13.                 <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><polyline points="15 18 9 12 15 6"></polyline></svg>
  14.             </label>
  15.         </div>
  16.         <div class="nrbn-pagination-info">
  17.             Seite <b>{{ currentPage }}</b> von <b>{{ totalPages }}</b>
  18.         </div>
  19.         <div class="nrbn-pagination-next{% if currentPage == totalPages %} disabled{% endif %}">
  20.             <input type="radio"
  21.                 {% if currentPage == totalPages %}disabled="disabled"{% endif %}
  22.                 name="p"
  23.                 id="p-next"
  24.                 value="{{ currentPage + 1 }}"
  25.                 class="d-none"
  26.                 title="pagination">
  27.             <label class="nrbn-pagination-label" for="p-next">
  28.                 <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><polyline points="9 18 15 12 9 6"></polyline></svg>
  29.             </label>
  30.         </div>
  31.         
  32.     </div>
  33. {% endblock %}