From: Michael Tremer Date: Wed, 19 Oct 2022 03:46:12 +0000 (+0000) Subject: web: Show some activity when jobs are running X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1d44cc3bebfbac17dee665152ba9579aa13218b4;p=pbs.git web: Show some activity when jobs are running Signed-off-by: Michael Tremer --- diff --git a/src/templates/modules/jobs/list.html b/src/templates/modules/jobs/list.html index b5db2094..ba352b52 100644 --- a/src/templates/modules/jobs/list.html +++ b/src/templates/modules/jobs/list.html @@ -29,17 +29,25 @@ {% end %} - {% if job.is_running() %} -
- {{ format_time(job.duration, shorter=True) }} -
- {% elif job.has_finished() %} + {% if job.has_finished() %}
{{ _("Finished %s") % \ locale.format_date(job.finished_at, shorter=True) }}
{% end %} + + {% if job.is_running() %} +
+
+ +
+ +
+ {{ format_time(job.duration, shorter=True) }} +
+
+ {% end %} {# Show all packages that have been built #}