summaryrefslogtreecommitdiffstats
path: root/reports/xsl-transforms/xsl-transform-includes/html-templates.xsl
diff options
context:
space:
mode:
Diffstat (limited to 'reports/xsl-transforms/xsl-transform-includes/html-templates.xsl')
-rw-r--r--reports/xsl-transforms/xsl-transform-includes/html-templates.xsl2
1 files changed, 2 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 c0defab29..2c8fa67ee 100644
--- a/reports/xsl-transforms/xsl-transform-includes/html-templates.xsl
+++ b/reports/xsl-transforms/xsl-transform-includes/html-templates.xsl
@@ -1,11 +1,13 @@
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" xmlns="http://www.w3.org/1999/xhtml">
<xsl:template match="Node">
+ <xsl:if test="count(Statistics/Good)+count(Statistics/Bad)+count(Statistics/Modified)+count(Statistics/Stale) > 0">
<div class="nodebox">
<span class="notebox">Time Ran: <xsl:value-of select="Statistics/@time" /></span>
<h2>Node: <span class="nodename"><xsl:value-of select="HostInfo/@fqdn" /></span></h2>
<xsl:apply-templates select="Statistics" />
</div>
+ </xsl:if>
</xsl:template>
<xsl:template match="Statistics">