summaryrefslogtreecommitdiffstats
path: root/templates/activities/notifications.html
diff options
context:
space:
mode:
authorAndrew Godwin2022-11-22 08:57:40 -0700
committerAndrew Godwin2022-11-22 09:57:42 -0700
commitb7c7c66013557e093a838a84b9b0e7cbaf05e12a (patch)
tree22bd8a5b6691a96614a8e38bd63b790334d7a349 /templates/activities/notifications.html
parent63ab492439ce4711fe6370d63bc6a55a48121448 (diff)
downloadtakahe-b7c7c66013557e093a838a84b9b0e7cbaf05e12a.tar.gz
takahe-b7c7c66013557e093a838a84b9b0e7cbaf05e12a.tar.bz2
takahe-b7c7c66013557e093a838a84b9b0e7cbaf05e12a.zip
Start adding pagniation to timelines
Diffstat (limited to 'templates/activities/notifications.html')
-rw-r--r--templates/activities/notifications.html8
1 files changed, 6 insertions, 2 deletions
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 %}
+ <div class="load-more"><a class="button" href=".?page={{ page_obj.next_page_number }}">Next Page</a></div>
+ {% endif %}
{% endblock %}