From 3e24c2eaf7b5150be001584c281b26f7960f149e Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 23 Jan 2025 21:11:47 +0100 Subject: [PATCH] Show queued jobs before finished jobs The few queued builds practically vanish at the bottom of the page otherwise. --- src/root/job.tt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/root/job.tt b/src/root/job.tt index 7e475f69..c533ebaa 100644 --- a/src/root/job.tt +++ b/src/root/job.tt @@ -27,15 +27,15 @@ removed or had an evaluation error.
+ [% IF queuedBuilds.size != 0 %] +

Queued builds

+ [% INCLUDE renderBuildList builds=queuedBuilds showSchedulingInfo=1 hideResultInfo=1 %] + [% END %] [% IF lastBuilds.size != 0 %]

Latest builds

[% INCLUDE renderBuildList builds=lastBuilds linkToAll=c.uri_for('/job' project.name jobset.name job 'all') %] [% END %] - [% IF queuedBuilds.size != 0 %] -

Queued builds

- [% INCLUDE renderBuildList builds=queuedBuilds showSchedulingInfo=1 hideResultInfo=1 %] - [% END %]
[% IF constituentJobs.size > 0 %]