diff options
author | Kenneth Graunke <kenneth@whitecape.org> | 2013-06-07 22:47:03 -0700 |
---|---|---|
committer | Kenneth Graunke <kenneth@whitecape.org> | 2013-06-07 22:47:03 -0700 |
commit | c4b01185c77a5c16876b90f5540132f9e176dc93 (patch) | |
tree | beebec697831d9470c19b9e0aed5b0b176526ce3 | |
parent | 1b2ddf3fa60254c5f1f52a46efbf45f9e109a406 (diff) |
xsl: Actually mark things green when done, not yellow.
"piglit or mesa" was overriding "piglit and mesa".
-rw-r--r-- | tasks.xsl | 14 |
1 files changed, 8 insertions, 6 deletions
@@ -93,12 +93,14 @@ <xsl:attribute name="href"> javascript:showOverlay('<xsl:value-of select="@name"/>:info') </xsl:attribute> - <xsl:if test="@mesa and @piglit = 'done'"> - <xsl:attribute name="class">done</xsl:attribute> - </xsl:if> - <xsl:if test="@mesa or @piglit"> - <xsl:attribute name="class">partial</xsl:attribute> - </xsl:if> + <xsl:choose> + <xsl:when test="@mesa and @piglit = 'done'"> + <xsl:attribute name="class">done</xsl:attribute> + </xsl:when> + <xsl:when test="@mesa or @piglit"> + <xsl:attribute name="class">partial</xsl:attribute> + </xsl:when> + </xsl:choose> <span> <xsl:value-of select="@name"/> </span> |