Changes for page Rangee Index

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

From version 12.15
edited by Tobias Wintrich
on 2021/09/28 11:46
Change comment: There is no comment for this version
To version 12.8
edited by Tobias Wintrich
on 2021/09/28 10:27
Change comment: There is no comment for this version

Summary

Details

XWiki.WikiMacroClass[0]
Macro code
... ... @@ -1,5 +1,5 @@
1 1  {{velocity}}
2 -{{tree links="true" edges="false"}}
2 +##{{tree links="true" edges="false"}}
3 3  #set($depth = $wikimacro.parameters.depth)
4 4  {{html wiki=true}}
5 5  <ul>
... ... @@ -21,7 +21,7 @@
21 21   <ul>
22 22   #foreach($rdoc in $results2)
23 23   #set($rdoc2 = $xwiki.getDocument($rdoc).getTranslatedDocument())
24 - <li class="$rdoc.getLanguage()
24 + <li class="
25 25   #if ($depth > 1)
26 26   jstree-open
27 27   #end
... ... @@ -79,5 +79,5 @@
79 79  </ul>
80 80  
81 81  {{/html}}
82 -{{/tree}}
82 +##{{/tree}}
83 83  {{/velocity}}