You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by an...@apache.org on 2008/01/11 15:29:28 UTC

svn commit: r611184 - /lenya/trunk/src/webapp/lenya/xslt/util/welcome.xsl

Author: andreas
Date: Fri Jan 11 06:29:25 2008
New Revision: 611184

URL: http://svn.apache.org/viewvc?rev=611184&view=rev
Log:
Use smaller font size for publication list, works better with long pub lists like on the demo.

Modified:
    lenya/trunk/src/webapp/lenya/xslt/util/welcome.xsl

Modified: lenya/trunk/src/webapp/lenya/xslt/util/welcome.xsl
URL: http://svn.apache.org/viewvc/lenya/trunk/src/webapp/lenya/xslt/util/welcome.xsl?rev=611184&r1=611183&r2=611184&view=diff
==============================================================================
--- lenya/trunk/src/webapp/lenya/xslt/util/welcome.xsl (original)
+++ lenya/trunk/src/webapp/lenya/xslt/util/welcome.xsl Fri Jan 11 06:29:25 2008
@@ -51,15 +51,17 @@
   </div>
   <!-- do not list publications with @show="false" 
      (can be used to hide template publications -->
-  <xsl:for-each select="lenya:publication[not(@show) or @show != 'false']">
-    <div class="lenya-publication-item">
-      <a>
-        <xsl:attribute name="href"><xsl:value-of select="@dirname"/><xsl:text>/introduction.html</xsl:text></xsl:attribute>
-        <xsl:attribute name="title"><xsl:value-of select="lenya:description"/></xsl:attribute>
-        <xsl:value-of select="lenya:name"/>
-      </a>
-    </div>
-  </xsl:for-each>
+  <ul class="lenyaPubs">
+    <xsl:for-each select="lenya:publication[not(@show) or @show != 'false']">
+      <li>
+        <a>
+          <xsl:attribute name="href"><xsl:value-of select="@dirname"/><xsl:text>/introduction.html</xsl:text></xsl:attribute>
+          <xsl:attribute name="title"><xsl:value-of select="lenya:description"/></xsl:attribute>
+          <xsl:value-of select="lenya:name"/>
+        </a>
+      </li>
+    </xsl:for-each>
+  </ul>
   </div>
 </xsl:template>
 



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org