forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1751608 - /forrest/trunk/main/webapp/skins/fleece-dev/xslt/html/site-to-xhtml.xsl
Date Wed, 06 Jul 2016 06:54:49 GMT
Author: sjur
Date: Wed Jul  6 06:54:49 2016
New Revision: 1751608

URL: http://svn.apache.org/viewvc?rev=1751608&view=rev
Log:
Relax the test a bit, to allow the menu sidebar to be built with search field and group logos
etc even in cases where the menu is empty.

Modified:
    forrest/trunk/main/webapp/skins/fleece-dev/xslt/html/site-to-xhtml.xsl

Modified: forrest/trunk/main/webapp/skins/fleece-dev/xslt/html/site-to-xhtml.xsl
URL: http://svn.apache.org/viewvc/forrest/trunk/main/webapp/skins/fleece-dev/xslt/html/site-to-xhtml.xsl?rev=1751608&r1=1751607&r2=1751608&view=diff
==============================================================================
--- forrest/trunk/main/webapp/skins/fleece-dev/xslt/html/site-to-xhtml.xsl (original)
+++ forrest/trunk/main/webapp/skins/fleece-dev/xslt/html/site-to-xhtml.xsl Wed Jul  6 06:54:49
2016
@@ -186,7 +186,7 @@ footer, searchbar, css etc.  As input, i
                         </xsl:choose>
                     </div>-->
                     <xsl:comment>start Menu, mainarea</xsl:comment>
-                    <xsl:if test="div[@id='menu']/ul/li">
+                    <xsl:if test="div[@id='menu']/ul">
                         <xsl:call-template name="menu"/>
                     </xsl:if>
                     <xsl:comment>start content</xsl:comment>



Mime
View raw message