From: Michael Tremer Date: Tue, 1 Aug 2023 15:50:06 +0000 (+0000) Subject: jobs: Group by date X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ad480de045d90b69a2f74cc9832fb40b1fb99670;p=pbs.git jobs: Group by date Signed-off-by: Michael Tremer --- diff --git a/src/templates/jobs/index.html b/src/templates/jobs/index.html index 4c896b75..c9fd8d0e 100644 --- a/src/templates/jobs/index.html +++ b/src/templates/jobs/index.html @@ -23,9 +23,14 @@
-
- {% module JobsQueue(jobs) %} -
+ {# Render all jobs #} + {% for date in jobs %} +
+

{{ locale.format_day(date) }}

+ + {% module JobsQueue(jobs[date]) %} +
+ {% end %}