You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by an...@apache.org on 2008/02/26 22:26:49 UTC

svn commit: r631389 - /lenya/sandbox/modules/forrest/xslt/svnLog2document.xsl

Author: andreas
Date: Tue Feb 26 13:26:48 2008
New Revision: 631389

URL: http://svn.apache.org/viewvc?rev=631389&view=rev
Log:
Changed version detection for old years back to contains().

Modified:
    lenya/sandbox/modules/forrest/xslt/svnLog2document.xsl

Modified: lenya/sandbox/modules/forrest/xslt/svnLog2document.xsl
URL: http://svn.apache.org/viewvc/lenya/sandbox/modules/forrest/xslt/svnLog2document.xsl?rev=631389&r1=631388&r2=631389&view=diff
==============================================================================
--- lenya/sandbox/modules/forrest/xslt/svnLog2document.xsl (original)
+++ lenya/sandbox/modules/forrest/xslt/svnLog2document.xsl Tue Feb 26 13:26:48 2008
@@ -70,8 +70,8 @@
           <xsl:when test="starts-with(paths/path[1], '/lenya/trunk') and contains(date, '2006')">2.0</xsl:when>
           <xsl:when test="starts-with(paths/path[1], '/lenya/trunk') and contains(date, '2005')">2.0</xsl:when>
           <xsl:when test="starts-with(paths/path[1], '/lenya/trunk') and contains(date, '2004')">2.0</xsl:when>
-          <xsl:when test="starts-with(date, '2003')">1.0</xsl:when>
-          <xsl:when test="starts-with(date, '2002')">0.8</xsl:when>
+          <xsl:when test="contains(date, '2003')">1.0</xsl:when>
+          <xsl:when test="contains(date, '2002')">0.8</xsl:when>
           <xsl:when test="starts-with(paths/path[1], '/lenya/docu')">Docs</xsl:when>
           <xsl:when test="starts-with(paths/path[1], '/lenya/sandbox')">Sandbox</xsl:when>
           <xsl:when test="starts-with(paths/path[1], '/lenya/site')">Site</xsl:when>



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org