tubesync/app/common/templates/pagination.html

12 lines
362 B
HTML
Raw Normal View History

2020-11-28 04:06:46 +00:00
{% if paginator.num_pages > 1 %}
2020-11-28 05:58:23 +00:00
<div class="row">
<div class="col s12">
<div class="pagination">
{% for i in paginator.page_range %}
<a class="pagenum{% if i == page_obj.number %} currentpage{% endif %}" href="?{% if filter %}filter={{ filter }}&{% endif %}page={{ i }}">{{ i }}</a>
2020-11-28 05:58:23 +00:00
{% endfor %}
</div>
</div>
2020-11-28 04:06:46 +00:00
</div>
{% endif %}