You are viewing a plain text version of this content. The canonical link for it is here.
Posted to svn@forrest.apache.org by sj...@apache.org on 2016/07/06 06:54:49 UTC

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

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>