Changes for page Rangee Index

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

From version 11.10
edited by Tobias Wintrich
on 2021/09/28 10:22
Change comment: There is no comment for this version
To version 11.11
edited by Tobias Wintrich
on 2021/09/28 10:23
Change comment: There is no comment for this version

Summary

Details

XWiki.WikiMacroClass[0]
Macro code
... ... @@ -10,9 +10,9 @@
10 10   #set($rdoc = $xwiki.getDocument($docname).getTranslatedDocument())
11 11   <li class="
12 12   #if ($depth > 0)
13 - jstree-open
13 + jstree-open $depth
14 14   #end
15 - ">$depth
15 + ">
16 16   [[$rdoc.getDisplayTitle()>>$rdoc.fullName]]
17 17   </li>
18 18   #set($results2 = false)
... ... @@ -23,9 +23,9 @@
23 23   #set($rdoc2 = $xwiki.getDocument($rdoc).getTranslatedDocument())
24 24   <li class="
25 25   #if ($depth > 1)
26 - jstree-open
26 + jstree-open $depth
27 27   #end
28 - ">$depth
28 + ">
29 29   [[$rdoc2.getDisplayTitle()>>$rdoc2.fullName]]
30 30   </li>
31 31   #set($results3 = false)
... ... @@ -36,9 +36,9 @@
36 36   #set($rdoc3 = $xwiki.getDocument($rdoc2).getTranslatedDocument())
37 37   <li class="
38 38   #if ($depth > 2)
39 - jstree-open
39 + jstree-open $depth
40 40   #end
41 - ">$depth
41 + ">
42 42   [[$rdoc3.getDisplayTitle()>>$rdoc3.fullName]]
43 43   </li>
44 44   #set($results4 = false)
... ... @@ -49,7 +49,7 @@
49 49   #set($rdoc4 = $xwiki.getDocument($rdoc3).getTranslatedDocument())
50 50   <li class="
51 51   #if ($depth > 3)
52 - jstree-open
52 + jstree-open $depth
53 53   #end
54 54   ">
55 55   [[$rdoc4.getDisplayTitle()>>$rdoc4.fullName]]