From 02873c07202b6604fb3c2c32003db9da935f5c8a Mon Sep 17 00:00:00 2001 From: Horilla Date: Wed, 7 Feb 2024 17:24:34 +0530 Subject: [PATCH] [UPDT] DASHBOARD: Pagination indication in table --- employee/templates/dashboard/not_in_yet.html | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/employee/templates/dashboard/not_in_yet.html b/employee/templates/dashboard/not_in_yet.html index 50746209d..dc045cfeb 100644 --- a/employee/templates/dashboard/not_in_yet.html +++ b/employee/templates/dashboard/not_in_yet.html @@ -3,7 +3,7 @@
{% if employees.has_previous %} + hx-get="{% url 'not-in-yet' %}?{{pd}}&page={{ employees.previous_page_number }}" hx-trigger="click delay:0.3s" title="Previous Page"> {% endif %} @@ -11,7 +11,7 @@ {% if employees.has_next %} + hx-get="{% url 'not-in-yet' %}?{{pd}}&page={{ employees.next_page_number }}" hx-trigger="click delay:0.3s" title="Next Page"> {% endif %} @@ -47,6 +47,10 @@
+ + {% trans "Page" %} {{ employees.number }} + {%trans "of" %} {{employees.paginator.num_pages }}. + {% else %}