diff --git a/src/root/common.tt b/src/root/common.tt
index 6e6a325c..bbf4ced3 100644
--- a/src/root/common.tt
+++ b/src/root/common.tt
@@ -329,6 +329,11 @@
[% IF !nestedDiff %]
Input | Changes |
[% 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 @@
[% bi1.name %][% INCLUDE renderShortInputValue input=bi1 %] to [% INCLUDE renderShortInputValue input=bi2 %]
- [% INCLUDE renderInputDiff build1=bi1.dependency, build2=bi2.dependency, nestedDiff=1 %]
+ [% INCLUDE renderInputDiff build1=bi1.dependency, build2=bi2.dependency, nestedDiff=1, nestLevel=nestLevel+1 %]
|
[% END %]
[% ELSE %]
@@ -365,6 +370,7 @@
[% bi1.name %] | Input not present in this build. |
[% END %]
[% END %]
+ [% END %]
[% END %]