You are viewing a plain text version of this content. The canonical link for it is here.
Posted to site-cvs@jakarta.apache.org by ba...@apache.org on 2005/02/07 03:01:11 UTC

svn commit: r151661 - jakarta/site/xdocs/downloads/download-pages.xsl

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