1
4
Fork 1

Zobrazení konečných šipek stránkování

master
Emil Miler 2 years ago
parent 4544836871
commit 47a9e9c7ee

@ -26,9 +26,17 @@
{% endmacro print_recipe %}
{% macro pagination() %}
{% if paginator.previous %}<a href="{{ paginator.previous }}"><span class="icon icon-arrow-left2"></span></a>{% endif %}
{% if paginator.previous %}
<a href="{{ paginator.previous }}"><span class="icon icon-arrow-left2"></span></a>
{% else %}
<span class="icon icon-arrow-left2"></span>
{% endif %}
<span>{{ paginator.current_index }} / {{ paginator.number_pagers }}</span>
{% if paginator.next %}<a href="{{ paginator.next }}"><span class="icon icon-arrow-right2"></span></a>{% endif %}
{% if paginator.next %}
<a href="{{ paginator.next }}"><span class="icon icon-arrow-right2"></span></a>
{% else %}
<span class="icon icon-arrow-right2"></span>
{% endif %}
{% endmacro pagination %}
{% macro subnav() %}

Loading…
Cancel
Save