Changes for page Rangee Index

Last modified by Tobias Wintrich on 2025/06/04 09:20

From version 10.96
edited by Tobias Wintrich
on 2021/09/28 10:10
Change comment: There is no comment for this version
To version 10.97
edited by Tobias Wintrich
on 2021/09/28 10:10
Change comment: There is no comment for this version

Summary

Details

XWiki.WikiMacroClass[0]
Macro code
... ... @@ -34,7 +34,11 @@
34 34   <ul>
35 35   #foreach($rdoc2 in $results3)
36 36   #set($rdoc3 = $xwiki.getDocument($rdoc2).getTranslatedDocument())
37 - <li class="jstree-open">
37 + <li class="
38 + #if ($depth > 2)
39 + jstree-open
40 + #end
41 + ">
38 38   [[$rdoc3.getDisplayTitle()>>$rdoc3.fullName]]
39 39   </li>
40 40   #set($results4 = false)