Files
changedetection.io/changedetectionio/templates/_pagination.jinja
2022-08-16 10:45:36 +02:00

8 lines
216 B
Django/Jinja

{% macro pagination(sorted_watches, total_per_page, current_page) %}
{{ sorted_watches|length }}
{% for row in sorted_watches|batch(total_per_page, ' ') %}
{{ loop.index}}
{% endfor %}
{% endmacro %}