forked from lix-project/hydra
Job page: Remove "Latest builds (latest evaluation)"
It was kind of confusing since there are two other "latest builds" tabs/sections.
This commit is contained in:
parent
6dbb948f1f
commit
098368c3e3
|
@ -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] }) ];
|
||||
|
|
|
@ -10,10 +10,6 @@
|
|||
<div id="generic-tabs" class="tab-content">
|
||||
|
||||
<div id="tabs-status" class="tab-pane active">
|
||||
[% IF currentBuilds.size != 0 %]
|
||||
<h3>Latest builds (latest evaluation)</h3>
|
||||
[% INCLUDE renderBuildList builds=currentBuilds showStatusChange=0 %]
|
||||
[% END %]
|
||||
[% IF queuedBuilds.size != 0 %]
|
||||
<h3>Queued builds</h3>
|
||||
[% INCLUDE renderBuildList builds=queuedBuilds showSchedulingInfo=1 hideResultInfo=1 %]
|
||||
|
|
Loading…
Reference in a new issue