From c92b626a18e013077d7e2256d297a87c16856138 Mon Sep 17 00:00:00 2001 From: samaradel Date: Mon, 18 Apr 2022 09:32:10 +0200 Subject: [PATCH] Add mimbership pagination --- templates/partials/memberships.html | 45 +++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/templates/partials/memberships.html b/templates/partials/memberships.html index 7fa75d7e7..e39c8466e 100644 --- a/templates/partials/memberships.html +++ b/templates/partials/memberships.html @@ -31,6 +31,51 @@ {% include "partials/person_card.html" %} {%- endfor %} +
+

+ {% if paginator.previous %} + {% include "partials/icons/svgPrevPageIcon.html" %}{% include + "partials/icons/svgPrevPageIcon.html" %} +           + {% include "partials/icons/svgPrevPageIcon.html" %} +           +           {% else %} {% + include "partials/icons/svgFirstPageIcon.html" %}{% include + "partials/icons/svgFirstPageIcon.html" %} +           {% include + "partials/icons/svgFirstPageIcon.html" %} +           +           {% endif %} {% if + paginator.next %} + {% include "partials/icons/svgNextPageIcon.html" %} +           + {% include "partials/icons/svgNextPageIcon.html" %}{% include + "partials/icons/svgNextPageIcon.html" %} + {% else %} {% include "partials/icons/svgLastPageIcon.html" %} +           {% include + "partials/icons/svgLastPageIcon.html" %}{% include + "partials/icons/svgLastPageIcon.html" %} {% endif %} +