diff options
Diffstat (limited to 'reports/xsl-transforms/xsl-transform-includes')
-rw-r--r-- | reports/xsl-transforms/xsl-transform-includes/html-templates.xsl | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/reports/xsl-transforms/xsl-transform-includes/html-templates.xsl b/reports/xsl-transforms/xsl-transform-includes/html-templates.xsl index 034d7a2de..93c736ef1 100644 --- a/reports/xsl-transforms/xsl-transform-includes/html-templates.xsl +++ b/reports/xsl-transforms/xsl-transform-includes/html-templates.xsl @@ -1,9 +1,11 @@ <?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"> + <xsl:if test="count(Statistics/Good)+count(Statistics/Bad)+count(Statistics/Extra)+count(Statistics/Modified)+count(Statistics/Stale) > 0"> + + <div class="nodebox" name="{HostInfo/@fqdn}"> <span class="notebox">Time Ran: <xsl:value-of select="Statistics/@time" /></span> + <span class="configbox">(<xsl:value-of select="Client/@image" />/<xsl:value-of select="Client/@profile" />)</span> <h2>Node: <span class="nodename"><xsl:value-of select="HostInfo/@fqdn" /></span></h2> <xsl:apply-templates select="Statistics" /> </div> |