From 52fed898bb03aed92f2512f3565b89899ea60458 Mon Sep 17 00:00:00 2001 From: Benedikt Kuehne Date: Thu, 23 Nov 2023 12:01:40 +0000 Subject: [PATCH] change redirect message --- embark/dashboard/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/embark/dashboard/views.py b/embark/dashboard/views.py index c82e11a2..8eac43e9 100644 --- a/embark/dashboard/views.py +++ b/embark/dashboard/views.py @@ -29,7 +29,7 @@ def main_dashboard(request): if request.user.is_authenticated: if FirmwareAnalysis.objects.filter(finished=True, failed=False).count() > 0 and Result.objects.all().count() > 0: return render(request, 'dashboard/mainDashboard.html', {'nav_switch': True, 'username': request.user.username}) - messages.info(request,"There are no Results to display yet, redirecting to uploader") + messages.info(request,"Redirected - There are no Results to display yet") return redirect('embark-uploader-home') return HttpResponseForbidden