]> git.ipfire.org Git - pbs.git/commitdiff
jobs: Put the most recent job at the top
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 13 Feb 2025 15:36:41 +0000 (15:36 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 13 Feb 2025 15:36:41 +0000 (15:36 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/templates/jobs/index.html

index 457f3f187c10f3e1c56f252d5cab3f4875ccf9fa..c4e752a6698e024b2970d16c4d2e014310f85e67 100644 (file)
@@ -40,7 +40,7 @@
        <section class="section">
                <div class="container">
                        {# Render all jobs #}
-                       {% for date, items in jobs | groupby("date") %}
+                       {% for date, items in jobs | groupby("date") | reverse %}
                                <div class="block">
                                        <h4 class="title is-4">{{ date | format_day }}</h4>