From 098368c3e3e7fbcfc405ef109857c71d1e8df717 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 22 Feb 2013 12:53:10 +0100 Subject: [PATCH] Job page: Remove "Latest builds (latest evaluation)" It was kind of confusing since there are two other "latest builds" tabs/sections. --- src/lib/Hydra/Controller/Job.pm | 2 -- src/root/job.tt | 4 ---- 2 files changed, 6 deletions(-) diff --git a/src/lib/Hydra/Controller/Job.pm b/src/lib/Hydra/Controller/Job.pm index a6a9c0f2..db191c33 100644 --- a/src/lib/Hydra/Controller/Job.pm +++ b/src/lib/Hydra/Controller/Job.pm @@ -23,8 +23,6 @@ sub overview : Chained('job') PathPart('') Args(0) { $c->stash->{template} = 'job.tt'; - $c->stash->{currentBuilds} = [$c->stash->{job}->builds->search({finished => 1, iscurrent => 1}, { order_by => 'system' })]; - $c->stash->{lastBuilds} = [ $c->stash->{job}->builds->search({ finished => 1 }, { order_by => 'timestamp DESC', rows => 10, columns => [@buildListColumns] }) ]; diff --git a/src/root/job.tt b/src/root/job.tt index 4e81159b..6858d2ed 100644 --- a/src/root/job.tt +++ b/src/root/job.tt @@ -10,10 +10,6 @@
- [% IF currentBuilds.size != 0 %] -

Latest builds (latest evaluation)

- [% INCLUDE renderBuildList builds=currentBuilds showStatusChange=0 %] - [% END %] [% IF queuedBuilds.size != 0 %]

Queued builds

[% INCLUDE renderBuildList builds=queuedBuilds showSchedulingInfo=1 hideResultInfo=1 %]