equal
deleted
inserted
replaced
16 <xsl:variable name="majorCount" select="count(phase/step/failures[@level='major']/failure)"/> |
16 <xsl:variable name="majorCount" select="count(phase/step/failures[@level='major']/failure)"/> |
17 <xsl:variable name="minorCount" select="count(phase/step/failures[@level='minor']/failure)"/> |
17 <xsl:variable name="minorCount" select="count(phase/step/failures[@level='minor']/failure)"/> |
18 <xsl:variable name="unknownCount" select="count(phase/step/failures[@level!='critical' and @level!='major' and @level!='minor']/failure)"/> |
18 <xsl:variable name="unknownCount" select="count(phase/step/failures[@level!='critical' and @level!='major' and @level!='minor']/failure)"/> |
19 |
19 |
20 <h2> |
20 <h2> |
21 Overall BRAG staus: |
21 Overall BRAGG staus: |
22 <xsl:choose> |
22 <xsl:choose> |
23 <xsl:when test="$criticalCount != 0">BLACK</xsl:when> |
23 <xsl:when test="$criticalCount != 0">BLACK</xsl:when> |
24 <xsl:when test="$majorCount != 0">RED</xsl:when> |
24 <xsl:when test="$majorCount != 0">RED</xsl:when> |
25 <xsl:when test="$minorCount != 0">AMBER</xsl:when> |
25 <xsl:when test="$minorCount != 0">AMBER</xsl:when> |
26 <xsl:when test="$unknownCount != 0">GREEN</xsl:when> |
26 <xsl:when test="$unknownCount != 0">GREEN</xsl:when> |