From b7c7c66013557e093a838a84b9b0e7cbaf05e12a Mon Sep 17 00:00:00 2001 From: Andrew Godwin Date: Tue, 22 Nov 2022 08:57:40 -0700 Subject: Start adding pagniation to timelines --- templates/activities/notifications.html | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'templates/activities/notifications.html') diff --git a/templates/activities/notifications.html b/templates/activities/notifications.html index 9bf66bb..a9c51be 100644 --- a/templates/activities/notifications.html +++ b/templates/activities/notifications.html @@ -3,9 +3,13 @@ {% block title %}Notifications{% endblock %} {% block content %} - {% for event in events %} + {% for event in page_obj %} {% include "activities/_event.html" %} {% empty %} - No events yet. + No notirications yet. {% endfor %} + + {% if page_obj.has_next %} +
+ {% endif %} {% endblock %} -- cgit v1.2.3