maven-doxia-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r385566 - /maven/doxia/trunk/doxia-site-renderer/src/main/resources/org/apache/maven/doxia/siterenderer/resources/default-site.vm
Date Mon, 13 Mar 2006 14:53:03 GMT
Author: brett
Date: Mon Mar 13 06:52:50 2006
New Revision: 385566

URL: http://svn.apache.org/viewcvs?rev=385566&view=rev
Log:
fix menu rendering bugs

Modified:
    maven/doxia/trunk/doxia-site-renderer/src/main/resources/org/apache/maven/doxia/siterenderer/resources/default-site.vm

Modified: maven/doxia/trunk/doxia-site-renderer/src/main/resources/org/apache/maven/doxia/siterenderer/resources/default-site.vm
URL: http://svn.apache.org/viewcvs/maven/doxia/trunk/doxia-site-renderer/src/main/resources/org/apache/maven/doxia/siterenderer/resources/default-site.vm?rev=385566&r1=385565&r2=385566&view=diff
==============================================================================
--- maven/doxia/trunk/doxia-site-renderer/src/main/resources/org/apache/maven/doxia/siterenderer/resources/default-site.vm
(original)
+++ maven/doxia/trunk/doxia-site-renderer/src/main/resources/org/apache/maven/doxia/siterenderer/resources/default-site.vm
Mon Mar 13 06:52:50 2006
@@ -89,7 +89,10 @@
       #set ( $collapse = "collapsed" )
     #end
 
-    #if ( $currentFileName == $currentItemHref )
+    #set ( $display = false )
+    #displayTree( $display $item )
+
+    #if ( $currentFileName == $currentItemHref || $display )
       #set ( $collapse = "expanded" )
     #end
   #end
@@ -100,10 +103,7 @@
       <a href="$currentItemHref">$item.name</a>
     #end
   #if ( $item && $item.items && $item.items.size() > 0 )
-    #set ( $display = false )
-    #displayTree( $display $item )
-
-    #if ( $collapse == "expanded" || $display )
+    #if ( $collapse == "expanded" )
       <ul>
         #foreach( $subitem in $item.items )
           #menuItem( $subitem )



Mime
View raw message