mirror of
https://github.com/jointakahe/takahe.git
synced 2024-12-24 06:20:28 +00:00
13 lines
523 B
HTML
13 lines
523 B
HTML
{% load activity_tags %}
|
|
|
|
<div class="pagination">
|
|
{% if page_obj.has_previous %}
|
|
<a class="button" href=".?{% urlparams page=page_obj.previous_page_number %}">Previous Page</a>
|
|
{% endif %}
|
|
{% if page_obj.paginator.count %}
|
|
<span class="count">{{ page_obj.paginator.count }} {{ page_obj.paginator.count|pluralize:nouns }}</span>
|
|
{% endif %}
|
|
{% if page_obj.has_next %}
|
|
<a class="button" href=".?{% urlparams page=page_obj.next_page_number %}">Next Page</a>
|
|
{% endif %}
|
|
</div>
|