[Yanel-commits] rev 42876 - public/yanel/trunk/src/webapp/xslt
michi at wyona.com
michi at wyona.com
Mon May 18 09:46:20 CEST 2009
Author: michi
Date: 2009-05-18 09:46:20 +0200 (Mon, 18 May 2009)
New Revision: 42876
Modified:
public/yanel/trunk/src/webapp/xslt/xmlInfo2xhtml.xsl
Log:
check for workflow state
Modified: public/yanel/trunk/src/webapp/xslt/xmlInfo2xhtml.xsl
===================================================================
--- public/yanel/trunk/src/webapp/xslt/xmlInfo2xhtml.xsl 2009-05-18 07:43:29 UTC (rev 42875)
+++ public/yanel/trunk/src/webapp/xslt/xmlInfo2xhtml.xsl 2009-05-18 07:46:20 UTC (rev 42876)
@@ -182,6 +182,9 @@
<th>Date</th>
<th>User</th>
<th>Comment</th>
+ <xsl:if test="revision[1]/workflow-state">
+ <th>Workflow State</th>
+ </xsl:if>
</tr>
<xsl:for-each select="revision">
<tr>
@@ -189,6 +192,9 @@
<td><xsl:value-of select="date"/></td>
<td><xsl:value-of select="user"/></td>
<td><xsl:value-of select="comment"/></td>
+ <xsl:if test="workflow-state">
+ <td><xsl:value-of select="workflow-state"/></td>
+ </xsl:if>
</tr>
</xsl:for-each>
</table>
More information about the Yanel-commits
mailing list