forked from lix-project/hydra
Minor style changes
This commit is contained in:
parent
0f639021d0
commit
3b550a8086
1 changed files with 6 additions and 5 deletions
|
@ -50,7 +50,8 @@ sub jobsetIndex {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$c->stash->{systems} = [$c->stash->{jobset}->builds->search({iscurrent => 1}, {select => ["system"], distinct => 1, order_by => "system" })];
|
$c->stash->{systems} =
|
||||||
|
[ $c->stash->{jobset}->builds->search({ iscurrent => 1 }, { select => ["system"], distinct => 1, order_by => "system" }) ];
|
||||||
|
|
||||||
# status per system
|
# status per system
|
||||||
my @systems = ();
|
my @systems = ();
|
||||||
|
@ -78,10 +79,10 @@ sub jobsetIndex {
|
||||||
})];
|
})];
|
||||||
}
|
}
|
||||||
|
|
||||||
# last builds for jobset
|
# Last builds for jobset.
|
||||||
my $tmp = $c->stash->{jobset}->builds;
|
my $tmp = $c->stash->{jobset}->builds;
|
||||||
$c->stash->{lastBuilds} = [joinWithResultInfo($c, $tmp)
|
$c->stash->{lastBuilds} =
|
||||||
->search({finished => 1}, {order_by => "timestamp DESC", rows => 5 })] ;
|
[ joinWithResultInfo($c, $tmp)->search({ finished => 1 }, { order_by => "timestamp DESC", rows => 5 }) ];
|
||||||
}
|
}
|
||||||
|
|
||||||
sub index : Chained('jobset') PathPart('') Args(0) {
|
sub index : Chained('jobset') PathPart('') Args(0) {
|
||||||
|
|
Loading…
Reference in a new issue