Paginates user activity feed

This commit is contained in:
Mouse Reeve
2020-11-11 10:43:47 -08:00
parent 91a32c014e
commit 90d0d721dd
2 changed files with 40 additions and 1 deletions

View File

@ -54,6 +54,26 @@
<p>No activities yet!</a>
</div>
{% endif %}
<nav class="pagination" role="navigation" aria-label="pagination">
{% if prev %}
<p class="pagination-previous">
<a href="{{ prev }}">
<span class="icon icon-arrow-left"></span>
Previous
</a>
</p>
{% endif %}
{% if next %}
<p class="pagination-next">
<a href="{{ next }}">
Next
<span class="icon icon-arrow-right"></span>
</a>
</p>
{% endif %}
</nav>
</div>
{% endblock %}