mirror of
https://github.com/spiral-project/ihatemoney.git
synced 2025-05-05 20:51:49 +02:00
remove bottom pagination, this is now useless
This commit is contained in:
parent
e383de2bf7
commit
05c2c52bfe
1 changed files with 0 additions and 15 deletions
|
@ -146,21 +146,6 @@
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
{% if bills.pages > 1 %}
|
|
||||||
<ul class="pagination w-100">
|
|
||||||
<li class="page-item {% if bills.page == 1 %}disabled{% endif %}"><a class="page-link" href="{{ url_for('main.list_bills', page=bills.prev_num) }}">« {{ _("Newer bills") }}</a></li>
|
|
||||||
{%- for page in bills.iter_pages() %}
|
|
||||||
{% if page %}
|
|
||||||
<li class="page-item {% if page == bills.page %}active{% endif %}"><a class="page-link" href="{{ url_for('main.list_bills', page=page) }}">{{ page }}</a></li>
|
|
||||||
{% else %}
|
|
||||||
<li class="page-item disabled"><span class="ellipsis page-link">…</span></li>
|
|
||||||
{% endif %}
|
|
||||||
{%- endfor %}
|
|
||||||
<li class="page-item {% if bills.page == bills.pages %}disabled{% endif %}"><a class="page-link" href="{{ url_for('main.list_bills', page=bills.next_num) }}">{{ _("Older bills") }} »</a></li>
|
|
||||||
</ul>
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
{% else %}
|
{% else %}
|
||||||
<div class="py-3 d-flex justify-content-center empty-bill">
|
<div class="py-3 d-flex justify-content-center empty-bill">
|
||||||
<div class="card d-inline-flex p-2">
|
<div class="card d-inline-flex p-2">
|
||||||
|
|
Loading…
Reference in a new issue