summaryrefslogtreecommitdiff
path: root/2005/d/dev/todo/tasklist.xsl
diff options
context:
space:
mode:
Diffstat (limited to '2005/d/dev/todo/tasklist.xsl')
-rw-r--r--2005/d/dev/todo/tasklist.xsl6
1 files changed, 5 insertions, 1 deletions
diff --git a/2005/d/dev/todo/tasklist.xsl b/2005/d/dev/todo/tasklist.xsl
index 59fa0b0..48d72b6 100644
--- a/2005/d/dev/todo/tasklist.xsl
+++ b/2005/d/dev/todo/tasklist.xsl
@@ -67,7 +67,11 @@
<xsl:template match="name|date|assignedto|desc">
<xsl:element name="div">
<xsl:attribute name="class">
- <xsl:value-of select="name()"/>
+ <xsl:choose>
+ <xsl:when test="@status"><xsl:value-of
+ select="name()"/>-<xsl:value-of select="@status"/></xsl:when>
+ <xsl:otherwise><xsl:value-of select="name()"/></xsl:otherwise>
+ </xsl:choose>
</xsl:attribute>
<xsl:value-of select="text()"/>
</xsl:element>