summaryrefslogtreecommitdiffstats
path: root/reports/xsl-transforms/xsl-transform-includes
diff options
context:
space:
mode:
Diffstat (limited to 'reports/xsl-transforms/xsl-transform-includes')
-rw-r--r--reports/xsl-transforms/xsl-transform-includes/html-templates.xsl4
1 files changed, 4 insertions, 0 deletions
diff --git a/reports/xsl-transforms/xsl-transform-includes/html-templates.xsl b/reports/xsl-transforms/xsl-transform-includes/html-templates.xsl
index 48cd52608..034d7a2de 100644
--- a/reports/xsl-transforms/xsl-transform-includes/html-templates.xsl
+++ b/reports/xsl-transforms/xsl-transform-includes/html-templates.xsl
@@ -57,6 +57,7 @@
</xsl:template>
<xsl:template match="Modified">
+ <xsl:if test='count(./*) > 0'>
<div class="modified">
<span class="nodelisttitle"><a href="javascript:toggleLayer('{generate-id(.)}');" title="Click to Expand" class="commentLink"><xsl:value-of select="count(./*)" /></a> items were modified in the last run.<br /></span>
@@ -78,9 +79,11 @@
</xsl:apply-templates>
</ul></div>
</div>
+ </xsl:if>
</xsl:template>
<xsl:template match="Extra">
+ <xsl:if test='count(./*) > 0'>
<div class="extra">
<span class="nodelisttitle"><a href="javascript:toggleLayer('{generate-id(.)}');" title="Click to Expand" class="commentLink"><xsl:value-of select="count(./*)" /></a> extra configuration elements on node.<br /></span>
@@ -102,6 +105,7 @@
</xsl:apply-templates>
</ul></div>
</div>
+ </xsl:if>
</xsl:template>
<xsl:template match="ConfigFile">