8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-24 20:33:11 +00:00

Manage ... in pagination

This commit is contained in:
Alexandre Iooss 2019-03-01 11:20:35 +01:00
parent 5a9244349c
commit 0a1467a067

View file

@ -4,7 +4,7 @@
{% if pagination_required %}
<ul class="paginator pagination">
{% for i in page_range %}
<li {% if cl.page_num == i %}class="active"{% endif %}>{% paginator_number cl i %}</li>
<li {% if cl.page_num == i %}class="active"{% endif %}>{% if '.' == i %}<span>...</span>{% else %}{% paginator_number cl i %}{% endif %}</li>
{% endfor %}
</ul>
{% endif %}