Changes for page Rangee Index

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

From version 12.35
edited by Tobias Wintrich
on 2021/09/28 12:16
Change comment: There is no comment for this version
To version 12.37
edited by Tobias Wintrich
on 2021/09/28 12:20
Change comment: There is no comment for this version

Summary

Details

XWiki.WikiMacroClass[0]
Macro code
... ... @@ -29,11 +29,13 @@
29 29   <ul>
30 30   #foreach($rdoc in $results2)
31 31   #set($rdoc2 = $xwiki.getDocument($rdoc).getTranslatedDocument())
32 - <li class="$rdoc.getLanguage()
32 + #if ($locale == $rdoc2.getLanguage())
33 + <li class="
33 33   #if ($depth > 1)
34 34   jstree-open
35 35   #end
36 36   ">
38 + #end
37 37   [[$rdoc2.getDisplayTitle()>>$rdoc2.fullName]]
38 38   </li>
39 39   #set($results3 = false)