From: Michael Tremer Date: Fri, 18 Aug 2023 09:50:07 +0000 (+0000) Subject: jobs: Show message if no jobs are queued X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=645a4b3098a750a21b87aa66ffcc22b404b662c0;p=pbs.git jobs: Show message if no jobs are queued Signed-off-by: Michael Tremer --- diff --git a/src/templates/jobs/queue.html b/src/templates/jobs/queue.html index 94eea4fc..0ca8134b 100644 --- a/src/templates/jobs/queue.html +++ b/src/templates/jobs/queue.html @@ -26,7 +26,13 @@
- {% module JobsQueue(queue) %} + {% if queue %} + {% module JobsQueue(queue) %} + {% else %} +
+ {{ _("There are currently no jobs queued") }} +
+ {% end %}
{% end block %}