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

This commit is contained in:
Emil Miler 2022-09-06 15:12:13 +02:00
parent 4544836871
commit 47a9e9c7ee

View File

@ -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() %}