jakarta-site-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bay...@apache.org
Subject svn commit: r153708 - jakarta/site/xdocs/downloads/download-pages.xsl
Date Mon, 14 Feb 2005 04:10:46 GMT
Author: bayard
Date: Sun Feb 13 20:10:44 2005
New Revision: 153708

URL: http://svn.apache.org/viewcvs?view=rev&rev=153708
Log:
failed to get the md5/pgp vertically aligned, it's a big pain. So going with another dropped
line, see what people think

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=153707&r2=153708
==============================================================================
--- jakarta/site/xdocs/downloads/download-pages.xsl (original)
+++ jakarta/site/xdocs/downloads/download-pages.xsl Sun Feb 13 20:10:44 2005
@@ -145,14 +145,16 @@
       <xsl:if test="not(ancestor::downloads/@mirrored = 'true')">
           <a href="{$primary}{$href}"><xsl:value-of select="@name"/></a>

       </xsl:if>
-      <div class="attributes">
-      <xsl:if test="not(@md5 and @md5 = 'false')">
-        <span class="md5">[<a href="{$primary}{$href}.md5">md5</a>]</span>
+      <xsl:if test="not(@md5 and @md5 = 'false') and not(@pgp and @pgp = 'false')">
+          <ul class="attributes"><li>
+          <xsl:if test="not(@md5 and @md5 = 'false')">
+            <span class="md5">[<a href="{$primary}{$href}.md5">md5</a>]</span>
+          </xsl:if>
+          <xsl:if test="not(@pgp and @pgp = 'false')">
+            <span class="pgp">[<a href="{$primary}{$href}.asc">pgp</a>]</span>
+          </xsl:if>
+          </li></ul>
       </xsl:if>
-      <xsl:if test="not(@pgp and @pgp = 'false')">
-        <span class="pgp">[<a href="{$primary}{$href}.asc">pgp</a>]</span>
-      </xsl:if>
-      </div>
     </li>
   </xsl:template>
 



---------------------------------------------------------------------
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