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 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]
Context elements
... ... @@ -1,1 +1,0 @@
1 -Sprache
Macro code
... ... @@ -12,7 +12,7 @@
12 12   #if ($depth > 0)
13 13   jstree-open
14 14   #end
15 - ">$depth
15 + ">
16 16   [[$rdoc.getDisplayTitle()>>$rdoc.fullName]]
17 17   </li>
18 18   #set($results2 = false)
... ... @@ -25,7 +25,7 @@
25 25   #if ($depth > 1)
26 26   jstree-open
27 27   #end
28 - ">$depth
28 + ">
29 29   [[$rdoc2.getDisplayTitle()>>$rdoc2.fullName]]
30 30   </li>
31 31   #set($results3 = false)
... ... @@ -38,7 +38,7 @@
38 38   #if ($depth > 2)
39 39   jstree-open
40 40   #end
41 - ">$depth
41 + ">
42 42   [[$rdoc3.getDisplayTitle()>>$rdoc3.fullName]]
43 43   </li>
44 44   #set($results4 = false)
... ... @@ -47,11 +47,7 @@
47 47   <ul>
48 48   #foreach($rdoc3 in $results4)
49 49   #set($rdoc4 = $xwiki.getDocument($rdoc3).getTranslatedDocument())
50 - <li class="
51 - #if ($depth > 3)
52 - jstree-open
53 - #end
54 - ">
50 + <li class="jstree-open">
55 55   [[$rdoc4.getDisplayTitle()>>$rdoc4.fullName]]
56 56   </li>
57 57   #set($results5 = false)
... ... @@ -60,11 +60,7 @@
60 60   <ul>
61 61   #foreach($rdoc4 in $results5)
62 62   #set($rdoc5 = $xwiki.getDocument($rdoc4).getTranslatedDocument())
63 - <li class="
64 - #if ($depth > 4)
65 - jstree-open
66 - #end
67 - ">
59 + <li class="jstree-open">
68 68   [[$rdoc5.getDisplayTitle()>>$rdoc5.fullName]]
69 69   </li>
70 70   #end
XWiki.WikiMacroParameterClass[0]
Parameter default value
... ... @@ -1,1 +1,1 @@
1 -5
1 +100
Parameter description
... ... @@ -1,1 +1,1 @@
1 -Öffne bis Ebene (0-5)
1 +Öffne bis Ebene