2023-01-13 22:54:21 +00:00
|
|
|
{% load activity_tags %}
|
|
|
|
|
|
|
|
<div class="pagination">
|
|
|
|
{% if page_obj.has_previous %}
|
2023-01-15 22:04:39 +00:00
|
|
|
<a class="button" href=".?{% urlparams page=page_obj.previous_page_number %}">Previous Page</a>
|
2023-01-13 22:54:21 +00:00
|
|
|
{% endif %}
|
|
|
|
{% if page_obj.paginator.count %}
|
2023-01-14 17:32:48 +00:00
|
|
|
<span class="count">{{ page_obj.paginator.count }} {{ page_obj.paginator.count|pluralize:nouns }}</span>
|
2023-01-13 22:54:21 +00:00
|
|
|
{% endif %}
|
|
|
|
{% if page_obj.has_next %}
|
2023-01-15 22:04:39 +00:00
|
|
|
<a class="button" href=".?{% urlparams page=page_obj.next_page_number %}">Next Page</a>
|
2023-01-13 22:54:21 +00:00
|
|
|
{% endif %}
|
|
|
|
</div>
|