Author: sdumitriu
Date: 2008-02-15 02:25:46 +0100 (Fri, 15 Feb 2008)
New Revision: 7741

Modified:
   xwiki-platform/web/trunk/standard/src/main/webapp/templates/macros.vm
Log:
XWIKI-2118: Add class to UL in toc
Done.


Modified: xwiki-platform/web/trunk/standard/src/main/webapp/templates/macros.vm
===================================================================
--- xwiki-platform/web/trunk/standard/src/main/webapp/templates/macros.vm       
2008-02-15 00:51:12 UTC (rev 7740)
+++ xwiki-platform/web/trunk/standard/src/main/webapp/templates/macros.vm       
2008-02-15 01:25:46 UTC (rev 7741)
@@ -208,6 +208,7 @@
  #set ($lastLevel = $init - 1)
  #set ($depth = 0)
  #set ($openeditem = true)
+<div class="toc">
  #foreach ($tocEntry in $tocData.entrySet())
   #set ($level = $tocEntry.value.level)
   #if ($level > $lastLevel)
@@ -219,7 +220,7 @@
     #else
 <li>
     #end
-<ul>
+<ul class="tocLevel">
     #set ($depth = $depth + 1)
    #end
   #elseif ($level < $lastLevel)
@@ -244,7 +245,7 @@
  </li>
 </ul>#end
  #end
-
+</div>
 #end
 
 #macro(exportPackage)

_______________________________________________
notifications mailing list
notifications@xwiki.org
http://lists.xwiki.org/mailman/listinfo/notifications

Reply via email to