Add a page to show the latest evaluations for the entire server

This commit is contained in:
Eelco Dolstra
2013-02-21 17:27:17 +01:00
parent 767cab6cd2
commit ba68826860
7 changed files with 97 additions and 72 deletions

11
src/root/evals.tt Normal file
View File

@@ -0,0 +1,11 @@
[% WRAPPER layout.tt title=(jobset ? "Evaluations of jobset $project.name:$jobset.name" : "Latest evaluations") %]
[% PROCESS common.tt %]
<p>Showing evaluations [% (page - 1) * resultsPerPage + 1 %] - [%
(page - 1) * resultsPerPage + evals.size %] out of [% total %].</p>
[% INCLUDE renderPager %]
[% INCLUDE renderEvals %]
[% END %]