{# default Sliding pagination control implementation #} {% if pageCount > 1 %} {% if first is defined and current == first %}
  • Anterior
  • {% endif %} {% if first is defined and current != first %}
  • Anterior
  • {% endif %} {% for page in pagesInRange %} {% if page == current %}
  • {{ page }}
  • {% else %}
  • {{ page }}
  • {% endif %} {% endfor %} {# {% set temp = current + 1 %} {% if temp < pageCount and pagesInRange |length == 6 and pageCount > 6 %}

    ...

  • {{ pageCount }}
  • {% endif %} #} {% if last is defined and current == last %}
  • Siguiente
  • {% endif %} {% if last is defined and current != last %}
  • Siguiente
  • {% endif %} {% endif %} {# vista original#} {# {% if pageCount > 1 %} {% endif %} #}