Pagination for the notifications page

This commit is contained in:
Thomas Sileo 2022-08-25 08:45:07 +02:00
parent d43bf54609
commit 30cfd6260b
2 changed files with 50 additions and 1 deletions

View file

@ -88,4 +88,15 @@
</div>
{%- endfor %}
</div>
{% if next_cursor %}
<div class="box">
<p>
<a href="{{ request.url._path }}?cursor={{ next_cursor }}">
See more{% if more_unread_count %}({{ more_unread_count }} unread left){% endif %}
</a>
</p>
</div>
{% endif %}
{% endblock %}