Shift down BRAG colour attribution (i.e. critical now make the build only red, major or unknown only amber)
authordario.sestito@v800052.ad-sfpd.intra
Mon, 12 Apr 2010 14:34:32 +0100
changeset 963 daf51fe459d8
parent 962 a5e5d79cd09a
child 964 ca156d459030
Shift down BRAG colour attribution (i.e. critical now make the build only red, major or unknown only amber)
common/tools/brag/brag.xsl
--- a/common/tools/brag/brag.xsl	Mon Apr 12 13:53:36 2010 +0100
+++ b/common/tools/brag/brag.xsl	Mon Apr 12 14:34:32 2010 +0100
@@ -21,10 +21,9 @@
 	<h2>
 	Overall BRAGG staus: 
 	<xsl:choose>
-		<xsl:when test="$criticalCount != 0">BLACK</xsl:when>
-		<xsl:when test="$majorCount != 0">RED</xsl:when>
-		<xsl:when test="$unknownCount != 0">RED</xsl:when>
-		<xsl:when test="$minorCount != 0">AMBER</xsl:when>
+		<xsl:when test="$criticalCount != 0">RED</xsl:when>
+		<xsl:when test="$majorCount != 0">AMBER</xsl:when>
+		<xsl:when test="$unknownCount != 0">AMBER</xsl:when>
 		<xsl:otherwise>GREEN</xsl:otherwise>
 	</xsl:choose>
 	</h2>