From 388a425cacf28534cad3f6e0c885af6e1a08f08b Mon Sep 17 00:00:00 2001 From: Son NK <> Date: Tue, 25 May 2021 18:27:06 +0200 Subject: [PATCH] Only show pagination control if there are previous/next page --- app/dashboard/templates/dashboard/index.html | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/app/dashboard/templates/dashboard/index.html b/app/dashboard/templates/dashboard/index.html index 3a1df02f..b1dcb993 100644 --- a/app/dashboard/templates/dashboard/index.html +++ b/app/dashboard/templates/dashboard/index.html @@ -460,17 +460,19 @@ {% endfor %} + + {% if page > 0 or not last_page %}
+ {% endif %} {% endblock %}