diff --git a/src/lib/Hydra/Controller/Jobset.pm b/src/lib/Hydra/Controller/Jobset.pm index 02845ef2..4923b47f 100644 --- a/src/lib/Hydra/Controller/Jobset.pm +++ b/src/lib/Hydra/Controller/Jobset.pm @@ -51,6 +51,8 @@ sub jobsetIndex { $c->stash->{evals} = getEvals($self, $c, scalar $c->stash->{jobset}->jobsetevals, 0, 10); + ($c->stash->{latestEval}) = $c->stash->{jobset}->jobsetevals->search({}, { limit => 1, order_by => ["id desc"] }); + $c->stash->{systems} = [ $c->stash->{jobset}->builds->search({ iscurrent => 1 }, { select => ["system"], distinct => 1, order_by => "system" }) ]; diff --git a/src/root/errors.tt b/src/root/errors.tt index 6d45150d..04ef39a8 100644 --- a/src/root/errors.tt +++ b/src/root/errors.tt @@ -25,7 +25,7 @@ that don’t build.
[% HTML.escape(j.errormsg) %]+
[% HTML.escape(j.errormsg) %]
[% HTML.escape(j.errormsg) %]+
[% HTML.escape(j.errormsg) %]
- Errors occurred at [% INCLUDE renderDateTime timestamp=jobset.errortime %]. -
-[% HTML.escape(jobset.errormsg) %]+
Errors occurred at [% INCLUDE renderDateTime timestamp=jobset.errortime %].
+[% HTML.escape(jobset.errormsg) %]