Zobrazení konečných šipek stránkování
This commit is contained in:
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…
Reference in New Issue
Block a user