In build tables, hide the project, jobset and/or job name if they're constant

This commit is contained in:
Eelco Dolstra
2012-04-02 13:12:39 +02:00
parent 1904f82f06
commit 0aae52bfcc
7 changed files with 15 additions and 15 deletions

View File

@ -1,5 +1,6 @@
[% WRAPPER layout.tt title="Job $project.name:$jobset.name:$job.name" %]
[% PROCESS common.tt %]
[% hideProjectName=1 hideJobsetName=1 hideJobName=1 %]
<h1>Job <tt>[% INCLUDE renderLink
@ -17,7 +18,7 @@
<!-- <li><a href="#tabs-statistics">Statistics</a></li> -->
</ul>
<div id="tabs-status">
[% IF currentBuilds.size == 0 %]
[% IF currentBuilds.size != 0 %]
<h2>Latest builds (latest evaluation)</h2>
[% INCLUDE renderBuildList builds=currentBuilds showStatusChange=0 %]
[% END %]