build.tt: Show jobset eval inputs instead of build inputs

We're not recording build inputs anymore, so we now just show all
inputs of the build's first evaluation.
This commit is contained in:
Eelco Dolstra 2014-09-25 14:49:09 +02:00
parent 01f4037d6f
commit b04c8adbd5

View file

@ -366,11 +366,19 @@
<div id="tabs-buildinputs" class="tab-pane">
[% INCLUDE renderInputs inputs=build.inputs %]
[% IF build.inputs.size > 0 %]
[% INCLUDE renderInputs inputs=build.inputs %]
[% IF prevBuild %]
<h3>Changes since previous [% INCLUDE renderBuildLink build=prevBuild %]</h3>
[% INCLUDE renderInputDiff inputs2=build.inputs inputs1=prevBuild.inputs %]
[% END %]
[% ELSIF eval %]
[% INCLUDE renderInputs inputs=eval.jobsetevalinputs %]
[% IF prevBuild %]
<h3>Changes since previous [% INCLUDE renderBuildLink build=prevBuild %]</h3>
[% INCLUDE renderInputDiff inputs2=build.inputs inputs1=prevBuild.inputs %]
[% END %]
</div>