* hydra: do not show build history if there are no previous builds
This commit is contained in:
parent
3ff2934400
commit
63acc9fb1c
|
@ -89,7 +89,7 @@
|
||||||
<li><a href="#tabs-buildinputs">Build Inputs</a></li>
|
<li><a href="#tabs-buildinputs">Build Inputs</a></li>
|
||||||
[% IF build.buildsteps %]<li><a href="#tabs-buildsteps">Build Steps</a></li>[% END %]
|
[% IF build.buildsteps %]<li><a href="#tabs-buildsteps">Build Steps</a></li>[% END %]
|
||||||
[% IF build.dependents %]<li><a href="#tabs-usedby">Used by</a></li>[% END%]
|
[% IF build.dependents %]<li><a href="#tabs-usedby">Used by</a></li>[% END%]
|
||||||
<li><a href="#tabs-history">History chart</a></li>
|
[% IF prevBuilds %]<li><a href="#tabs-history">History chart</a></li>[% END %]
|
||||||
</ul>
|
</ul>
|
||||||
<div id="tabs-summary">
|
<div id="tabs-summary">
|
||||||
|
|
||||||
|
@ -434,7 +434,7 @@
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
[% END %]
|
[% END %]
|
||||||
|
[% IF prevBuilds %]
|
||||||
<div id="tabs-history">
|
<div id="tabs-history">
|
||||||
<h2>Build time history (in seconds)</h2>
|
<h2>Build time history (in seconds)</h2>
|
||||||
<div id="placeholder" style="width:800px;height:400px;"></div>
|
<div id="placeholder" style="width:800px;height:400px;"></div>
|
||||||
|
@ -513,6 +513,7 @@
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
[% END %]
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue