From f29c8d324789cf35a5a35b6ffec90a54a9ae4900 Mon Sep 17 00:00:00 2001 From: Manager Bot Date: Fri, 11 Nov 2022 06:31:44 +0000 Subject: [PATCH] Page reloading. --- Web/templates/dashboard/blog_jobs.html.ep | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Web/templates/dashboard/blog_jobs.html.ep b/Web/templates/dashboard/blog_jobs.html.ep index b0f3578..876cc51 100644 --- a/Web/templates/dashboard/blog_jobs.html.ep +++ b/Web/templates/dashboard/blog_jobs.html.ep @@ -1,5 +1,9 @@ % layout 'standard', title => 'Dashboard', sb_active => 'dashboard'; +% if ( $c->minion->jobs({ states => [ 'inactive', 'active' ], notes => [ '_bid_' . $blog->id ] } )->total >= 1 ) { + % $c->stash->{http_refresh} = 5; +% } + %= include 'dashboard/_blog_nav', page => 'jobs' %= include '_base/status_window';