From 5d3494011f959adffc913f75c5733a747767c408 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 22 Feb 2013 13:00:40 +0100 Subject: [PATCH] Job page: Put latest builds on top Also, rename the "Latest builds" tabs to prevent confusion. --- src/root/common.tt | 5 ++++- src/root/job.tt | 13 +++++++------ 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/src/root/common.tt b/src/root/common.tt index fe70e713..b6d59c24 100644 --- a/src/root/common.tt +++ b/src/root/common.tt @@ -137,6 +137,9 @@ BLOCK renderBuildListBody; [% END %] [% END; + IF linkToAll %] + More... + [% END; END; @@ -431,7 +434,7 @@ BLOCK renderEvals %] [% END; IF linkToAll %] - All evaluations... + More... [% END %] diff --git a/src/root/job.tt b/src/root/job.tt index 6858d2ed..5ccef23f 100644 --- a/src/root/job.tt +++ b/src/root/job.tt @@ -4,23 +4,24 @@
+ [% IF lastBuilds.size != 0 %] +

Lastest builds

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

Queued builds

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

Last 10 builds

- [% INCLUDE renderBuildList builds=lastBuilds showStatusChange=0 %] - [% END %]
-
+