From acbb6b24aeb3e31c957027f31a162e8531a3fa3b Mon Sep 17 00:00:00 2001 From: Alex de Landgraaf Date: Wed, 3 Jan 2024 17:58:40 +0100 Subject: [PATCH] [#1983] Only show pagination if there are multiple pages --- .../components/templates/components/Pagination/Pagination.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/open_inwoner/components/templates/components/Pagination/Pagination.html b/src/open_inwoner/components/templates/components/Pagination/Pagination.html index 949a64f5f0..c86a953b08 100644 --- a/src/open_inwoner/components/templates/components/Pagination/Pagination.html +++ b/src/open_inwoner/components/templates/components/Pagination/Pagination.html @@ -5,6 +5,7 @@ {% button href=href text=text icon="arrow_backward" %} {% endif %} + {% if page_obj.has_other_pages %}
{% if page_obj.has_previous %} {% icon icon="chevron_right" %} {% endif %}
+ {% endif %}