Allow showing all evaluations that contain a given build
This commit is contained in:
@ -112,7 +112,7 @@
|
||||
<th>Part of:</th>
|
||||
<td>
|
||||
<a href="[% c.uri_for(c.controller('JobsetEval').action_for('view'), [eval.id]) %]">evaluation [% eval.id %]</a>
|
||||
[% IF nrEvals > 1 +%] (and [% nrEvals - 1 %] others)[% END %]
|
||||
[% IF nrEvals > 1 +%] (and <a href="[% c.uri_for('/build' build.id 'evals') %]">[% nrEvals - 1 %] others</a>)[% END %]
|
||||
</td>
|
||||
</tr>
|
||||
[% END %]
|
||||
|
@ -384,7 +384,7 @@ BLOCK renderEvals %]
|
||||
<table class="tablesorter table table-condensed table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
[% IF !jobset %]
|
||||
[% IF !jobset && !build %]
|
||||
<th>Jobset</th>
|
||||
[% END %]
|
||||
<th>#</th>
|
||||
@ -398,7 +398,7 @@ BLOCK renderEvals %]
|
||||
eval = e.eval;
|
||||
link = c.uri_for(c.controller('JobsetEval').action_for('view'), [eval.id]) %]
|
||||
<tr class="clickable" onclick="window.location = '[% link %]'">
|
||||
[% IF !jobset %]
|
||||
[% IF !jobset && !build %]
|
||||
<td>[% INCLUDE renderFullJobsetName project=eval.get_column('project') jobset=eval.get_column('jobset') %]</td>
|
||||
[% END %]
|
||||
<td><a href="[% link %]">[% eval.id %]</a></td>
|
||||
|
@ -1,4 +1,7 @@
|
||||
[% WRAPPER layout.tt title=(jobset ? "Evaluations of jobset $project.name:$jobset.name" : "Latest evaluations") %]
|
||||
[% WRAPPER layout.tt title=
|
||||
(build ? "Evaluations containing build $build.id" :
|
||||
jobset ? "Evaluations of jobset $project.name:$jobset.name" :
|
||||
"Latest evaluations") %]
|
||||
[% PROCESS common.tt %]
|
||||
|
||||
<p>Showing evaluations [% (page - 1) * resultsPerPage + 1 %] - [%
|
||||
|
Reference in New Issue
Block a user