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

[email protected]
Newsgroups gmane.comp.cms.lenya.cvs
Message-ID <[email protected]>
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>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.