Add maximum nest level for input changes on build page.

This commit is contained in:
Rob Vermaas 2012-04-16 13:59:29 +02:00
parent 1cf2a1592a
commit 28b6ff3ed6

View file

@ -329,6 +329,11 @@
[% IF !nestedDiff %]
<tr><th>Input</th><th>Changes</th></tr>
[% END %]
[% IF !nestLevel %]
[% nestLevel = 0 %]
[% END %]
[% IF nestLevel <= 3 %]
[% FOREACH bi1 IN build1.inputs %]
[% deletedInput = 1 %]
[% FOREACH bi2 IN build2.inputs %]
@ -351,7 +356,7 @@
<b>[% bi1.name %]</b></td><td><tt>[% INCLUDE renderShortInputValue input=bi1 %] to [% INCLUDE renderShortInputValue input=bi2 %]</tt>
<br/>
<br/>
[% INCLUDE renderInputDiff build1=bi1.dependency, build2=bi2.dependency, nestedDiff=1 %]
[% INCLUDE renderInputDiff build1=bi1.dependency, build2=bi2.dependency, nestedDiff=1, nestLevel=nestLevel+1 %]
</td></tr>
[% END %]
[% ELSE %]
@ -365,6 +370,7 @@
<tr><td><b>[% bi1.name %]</b></td><td>Input not present in this build.</td></tr>
[% END %]
[% END %]
[% END %]
</table>
[% END %]