From 648aabfa3e539955b324ab4e3c169619bd6d9bfb Mon Sep 17 00:00:00 2001 From: Horilla Date: Sun, 24 Nov 2024 10:44:29 +0530 Subject: [PATCH] [UPDT] RECRUIMTENT: Empty page text updates --- recruitment/templates/dashboard/dashboard.html | 2 +- recruitment/views/dashboard.py | 6 +++++- recruitment/views/views.py | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/recruitment/templates/dashboard/dashboard.html b/recruitment/templates/dashboard/dashboard.html index 719938bf9..44a0f7e82 100644 --- a/recruitment/templates/dashboard/dashboard.html +++ b/recruitment/templates/dashboard/dashboard.html @@ -261,7 +261,7 @@ {% else %}
- +

{% trans "No records were available." %}

diff --git a/recruitment/views/dashboard.py b/recruitment/views/dashboard.py index 426d429e4..6fbb0b1d8 100644 --- a/recruitment/views/dashboard.py +++ b/recruitment/views/dashboard.py @@ -190,7 +190,11 @@ def dashboard_pipeline(request): } ) return JsonResponse( - {"dataSet": data_set, "labels": labels, "message": _("No data Found...")} + { + "dataSet": data_set, + "labels": labels, + "message": _("No records available at the moment."), + } ) diff --git a/recruitment/views/views.py b/recruitment/views/views.py index 6d7b521a6..fb597519a 100644 --- a/recruitment/views/views.py +++ b/recruitment/views/views.py @@ -3102,7 +3102,7 @@ def hired_candidate_chart(request): "data": data, "background_color": background_color, "border_color": border_color, - "message": _("No data Found..."), + "message": _("No records available at the moment."), }, safe=False, )