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
on 2021/09/28 10:10
Change comment:
There is no comment for this version
To version 10.91
edited by Tobias Wintrich
on 2021/09/28 10:04
on 2021/09/28 10:04
Change comment:
There is no comment for this version
Summary
-
Objects (1 modified, 0 added, 0 removed)
Details
- XWiki.WikiMacroClass[0]
-
- Macro code
-
... ... @@ -1,6 +1,5 @@ 1 1 {{velocity}} 2 2 {{tree links="true" edges="false"}} 3 -#set($depth = $wikimacro.parameters.depth) 4 4 {{html wiki=true}} 5 5 <ul> 6 6 #set($results = false) ... ... @@ -8,11 +8,7 @@ 8 8 #set($results = $query.bindValue('doc', $doc.fullName).addFilter('currentlanguage').execute()) 9 9 #foreach($docname in $results) 10 10 #set($rdoc = $xwiki.getDocument($docname).getTranslatedDocument()) 11 - <li class=" 12 - #if ($depth > 0) 13 - jstree-open 14 - #end 15 - "> 10 + <li class="jstree-open"> 16 16 [[$rdoc.getDisplayTitle()>>$rdoc.fullName]] 17 17 </li> 18 18 #set($results2 = false) ... ... @@ -21,11 +21,7 @@ 21 21 <ul> 22 22 #foreach($rdoc in $results2) 23 23 #set($rdoc2 = $xwiki.getDocument($rdoc).getTranslatedDocument()) 24 - <li class=" 25 - #if ($depth > 1) 26 - jstree-open 27 - #end 28 - "> 19 + <li class="jstree-open"> 29 29 [[$rdoc2.getDisplayTitle()>>$rdoc2.fullName]] 30 30 </li> 31 31 #set($results3 = false)