vmassol 01/04/29 06:50:53 Modified: cactus/docs/framework/skins/jakarta.apache.org/stylesheets todo2document.xsl Log: added an 'assigned-to' comment at then of each assigned to task and listed the names of persons already assigned to tasks at the top of the page Revision Changes Path 1.2 +23 -3 jakarta-commons/cactus/docs/framework/skins/jakarta.apache.org/stylesheets/todo2document.xsl Index: todo2document.xsl =================================================================== RCS file: /home/cvs/jakarta-commons/cactus/docs/framework/skins/jakarta.apache.org/stylesheets/todo2document.xsl,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- todo2document.xsl 2001/04/09 11:52:31 1.1 +++ todo2document.xsl 2001/04/29 13:50:53 1.2 @@ -17,17 +17,37 @@ </document> </xsl:template> + <xsl:template match="devs"> + <s1 title="Developers assigned to tasks"> + <sl> + <xsl:for-each select="person"> + <li> + <strong><xsl:value-of select="@id"/></strong> + <xsl:text> = </xsl:text> + <link href="mailto:{@email}"><xsl:value-of select="@name"/></link> + </li> + </xsl:for-each> + </sl> + </s1> + </xsl:template> + <xsl:template match="actions"> - <s2 title="{@priority}"> + <s1 title="{@priority} severity tasks"> <sl> <xsl:for-each select="action"> <li> - <strong><xsl:text>[</xsl:text><xsl:value-of select="@context"/><xsl:text>]</xsl:text></strong><xsl:text> </xsl:text> + <strong> + <xsl:text>[</xsl:text><xsl:value-of select="@context"/><xsl:text>]</xsl:text> + </strong> + <xsl:text> </xsl:text> <xsl:apply-templates/> + <xsl:if test="@assigned-to"> + <em>(assigned to <xsl:value-of select="@assigned-to"/>)</em> + </xsl:if> </li> </xsl:for-each> </sl> - </s2> + </s1> </xsl:template> </xsl:stylesheet>