diff options
author | Joey Hagedorn <hagedorn@mcs.anl.gov> | 2005-08-03 03:59:39 +0000 |
---|---|---|
committer | Joey Hagedorn <hagedorn@mcs.anl.gov> | 2005-08-03 03:59:39 +0000 |
commit | 36c6d42bde941a42ca7a07f04fb515ef902083b3 (patch) | |
tree | e9794a1487db5b95072e9926346279ba127a6a4a /reports | |
parent | 2c7c5ff882e0d41812c2f1a2a6c7103e93386cf8 (diff) | |
download | bcfg2-36c6d42bde941a42ca7a07f04fb515ef902083b3.tar.gz bcfg2-36c6d42bde941a42ca7a07f04fb515ef902083b3.tar.bz2 bcfg2-36c6d42bde941a42ca7a07f04fb515ef902083b3.zip |
fix test when all nodes are good
(Logical change 1.279)
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1122 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'reports')
-rw-r--r-- | reports/xsl-transforms/nodes-digest-rss.xsl | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/reports/xsl-transforms/nodes-digest-rss.xsl b/reports/xsl-transforms/nodes-digest-rss.xsl index df6ac33a2..93cc26e36 100644 --- a/reports/xsl-transforms/nodes-digest-rss.xsl +++ b/reports/xsl-transforms/nodes-digest-rss.xsl @@ -16,9 +16,10 @@ </xsl:text>Report Run @ <xsl:value-of select="@time" /> SUMMARY: -<xsl:text> </xsl:text><xsl:value-of select="count(/Report/Node)" /> nodes were included in your report.<xsl:if test="count(/Report/Node/Statistics/Good) = 0"> -<xsl:text> - </xsl:text>All machines are configured to specification. +<xsl:text> </xsl:text><xsl:value-of select="count(/Report/Node)" /> nodes were included in your report.<xsl:text> +</xsl:text> +<xsl:if test="count(/Report/Node)-count(/Report/Node/Statistics/Good) = 0"> +<xsl:text> </xsl:text>All machines are configured to specification. </xsl:if><xsl:if test="count(/Report/Node/Statistics/Good) > 0"> <xsl:text> </xsl:text><xsl:value-of select="count(/Report/Node/Statistics/Good)" /> nodes are clean. </xsl:if> |