forked from lix-project/hydra
Add maximum nest level for input changes on build page.
This commit is contained in:
parent
1cf2a1592a
commit
28b6ff3ed6
1 changed files with 7 additions and 1 deletions
|
@ -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 %]
|
||||
|
|
Loading…
Reference in a new issue