incubator-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1185418 - /incubator/public/trunk/site-author/stylesheets/project-index.xsl
Date Mon, 17 Oct 2011 22:42:30 GMT
Author: sebb
Date: Mon Oct 17 22:42:30 2011
New Revision: 1185418

URL: http://svn.apache.org/viewvc?rev=1185418&view=rev
Log:
Use enddate param consistently

Modified:
    incubator/public/trunk/site-author/stylesheets/project-index.xsl

Modified: incubator/public/trunk/site-author/stylesheets/project-index.xsl
URL: http://svn.apache.org/viewvc/incubator/public/trunk/site-author/stylesheets/project-index.xsl?rev=1185418&r1=1185417&r2=1185418&view=diff
==============================================================================
--- incubator/public/trunk/site-author/stylesheets/project-index.xsl (original)
+++ incubator/public/trunk/site-author/stylesheets/project-index.xsl Mon Oct 17 22:42:30 2011
@@ -52,6 +52,7 @@
         </tr>
         <xsl:apply-templates select="podling[@status = $status]">
             <xsl:sort select='@name'/>
+            <xsl:with-param name="enddate" select="$enddate"/>
         </xsl:apply-templates>
 <xsl:text>
       </xsl:text>
@@ -62,6 +63,7 @@
     </xsl:template>    
 
     <xsl:template match='podling'>
+        <xsl:param name='enddate'/>
 <xsl:text>
         </xsl:text>
         <tr>
@@ -96,7 +98,7 @@
 <xsl:text>
           </xsl:text>
           <td><xsl:value-of select="@startdate"/></td>
-          <xsl:if test="@status != 'current'">
+          <xsl:if test="$enddate = 'true'">
               <td>
               <xsl:choose>
                   <xsl:when test="@enddate"><xsl:value-of select="@enddate"/></xsl:when>



---------------------------------------------------------------------
To unsubscribe, e-mail: cvs-unsubscribe@incubator.apache.org
For additional commands, e-mail: cvs-help@incubator.apache.org


Mime
View raw message