jakarta-site-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bay...@apache.org
Subject svn commit: r151661 - jakarta/site/xdocs/downloads/download-pages.xsl
Date Mon, 07 Feb 2005 02:01:11 GMT
Author: bayard
Date: Sun Feb  6 18:01:10 2005
New Revision: 151661

URL: http://svn.apache.org/viewcvs?view=rev&rev=151661
Log:
only shows the for more info para if there is a href and a name

Modified:
    jakarta/site/xdocs/downloads/download-pages.xsl

Modified: jakarta/site/xdocs/downloads/download-pages.xsl
URL: http://svn.apache.org/viewcvs/jakarta/site/xdocs/downloads/download-pages.xsl?view=diff&r1=151660&r2=151661
==============================================================================
--- jakarta/site/xdocs/downloads/download-pages.xsl (original)
+++ jakarta/site/xdocs/downloads/download-pages.xsl Sun Feb  6 18:01:10 2005
@@ -55,8 +55,9 @@
         The <code>MD5</code> link downloads the checksum from the main site.
         </p>
 
-        <!-- TODO: Only show this if it has a name/href -->
-        <p>For more information concerning <xsl:value-of select="@name"/>, see
the <a href="{$href}" class="name"><xsl:value-of select="@name"/></a> site.
</p>
+        <xsl:if test="@name and @href">
+            <p>For more information concerning <xsl:value-of select="@name"/>,
see the <a href="{$href}" class="name"><xsl:value-of select="@name"/></a>
site. </p>
+        </xsl:if>
 
           <xsl:for-each select="project">
             <xsl:call-template name="subproject"/>



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


Mime
View raw message