diff options
Diffstat (limited to 'templates/activities/notifications.html')
-rw-r--r-- | templates/activities/notifications.html | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/templates/activities/notifications.html b/templates/activities/notifications.html index 890a2ad..89ca4d8 100644 --- a/templates/activities/notifications.html +++ b/templates/activities/notifications.html @@ -32,7 +32,13 @@ No notifications yet. {% endfor %} - {% if page_obj.has_next %} - <div class="load-more"><a class="button" href=".?page={{ page_obj.next_page_number }}">Next Page</a></div> - {% endif %} + <div class="pagination"> + {% if page_obj.has_previous %} + <div class="load-more"><a class="button" href=".?page={{ page_obj.previous_page_number }}">Previous Page</a></div> + {% endif %} + + {% if page_obj.has_next %} + <div class="load-more"><a class="button" href=".?page={{ page_obj.next_page_number }}">Next Page</a></div> + {% endif %} + </div> {% endblock %} |