{% if lastPage > 1 %} {% if currentPage == 1 %} {{'common.pagination.prev'|_}} {% else %} {% endif %} {{'common.pagination.currentPage'|_({ items: items, curr: currentPage, last: lastPage })}} {% if currentPage == lastPage %} {{'common.pagination.next'|_}} {% else %} {% endif %} {# {% else %} {{'common.pagination.showing'|_({ curr: items, total: total })}} #} {% endif %}