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:20:07 UTC

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

Author: bayard
Date: Sun Feb  6 18:20:06 2005
New Revision: 151664

URL: http://svn.apache.org/viewcvs?view=rev&rev=151664
Log:
not as beautiful as I would like it to be, but downloads can have md5-text and pgp-text set to false t hide the bits about them at the top

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

Modified: jakarta/site/xdocs/downloads/download-pages.xsl
URL: http://svn.apache.org/viewcvs/jakarta/site/xdocs/downloads/download-pages.xsl?view=diff&r1=151663&r2=151664
==============================================================================
--- jakarta/site/xdocs/downloads/download-pages.xsl (original)
+++ jakarta/site/xdocs/downloads/download-pages.xsl Sun Feb  6 18:20:06 2005
@@ -47,12 +47,16 @@
         </xsl:if>
         <p>
 
-        <!-- TODO: Only show this if there are PGP links -->
-        The <code>KEYS</code> link next to the product links to the code signing keys used to sign the product.
-        The <code>PGP</code> link downloads the OpenPGP compatible signature from our main site. 
+        <!-- TODO: See the md5 TODO below, this is the same but for pgp -->
+        <xsl:if test="not(downloads/@pgp-text and downloads/@pgp-text = 'false')">
+            The <code>KEYS</code> link links to the code signing keys used to sign the product. The <code>PGP</code> link downloads the OpenPGP compatible signature from our main site. 
+        </xsl:if>
 
-        <!-- TODO: Only show this if there are MD5 links -->
-        The <code>MD5</code> link downloads the checksum from the main site.
+        <!-- TODO: Only show this if there are MD5 links in the download, rather than the downloads -->
+        <!--       Basically need to not show this if all the download/*/@md5 are present and false -->
+        <xsl:if test="not(downloads/@md5-text and downloads/@md5-text = 'false')">
+            The <code>MD5</code> link downloads the checksum from the main site.
+        </xsl:if>
         </p>
 
         <xsl:if test="@name and @href">

Modified: jakarta/site/xdocs/downloads/downloads.xml
URL: http://svn.apache.org/viewcvs/jakarta/site/xdocs/downloads/downloads.xml?view=diff&r1=151663&r2=151664
==============================================================================
--- jakarta/site/xdocs/downloads/downloads.xml (original)
+++ jakarta/site/xdocs/downloads/downloads.xml Sun Feb  6 18:20:06 2005
@@ -12,7 +12,7 @@
     </project>
 
     <project id="bsf" name="BSF" href="http://jakarta.apache.org/bsf/">
-      <downloads primary="http://cvs.apache.org/dist/" mirrored="false">
+      <downloads primary="http://cvs.apache.org/dist/" mirrored="false" md5-text="false" pgp-text="false">
           <group label="Binary">
               <download name="2.3.0.tar.gz" href="jakarta/bsf/v2.3.0rc1/bin/bsf-bin-2.3.0.tar.gz" md5="false" pgp="false"/>
               <download name="2.3.0.zip" href="jakarta/bsf/v2.3.0rc1/bin/bsf-bin-2.3.0.zip" md5="false" pgp="false"/>



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