From e2d28a4be08ccc629def8c85327b657b0bf36f90 Mon Sep 17 00:00:00 2001 From: Andrew Godwin Date: Mon, 5 Dec 2022 19:54:47 -0700 Subject: Add pagination and search to federation page --- templates/admin/federation.html | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'templates/admin') diff --git a/templates/admin/federation.html b/templates/admin/federation.html index 1a48176..98ee09d 100644 --- a/templates/admin/federation.html +++ b/templates/admin/federation.html @@ -3,8 +3,12 @@ {% block subtitle %}Federation{% endblock %} {% block content %} +
- {% for domain in domains %} + {% for domain in page_obj %} @@ -20,5 +24,13 @@ {% empty %}

There are no federation links yet.

{% endfor %} +
+ {% if page_obj.has_previous %} + Previous Page + {% endif %} + {% if page_obj.has_next %} + Next Page + {% endif %} +
{% endblock %} -- cgit v1.2.3