Changes for page Card Navigation

Last modified by Calvin Henderson on 2025/03/11 10:29

From version 21.4
edited by calvin_henderson
on 2024/12/19 14:35
Change comment: There is no comment for this version
To version 21.6
edited by calvin_henderson
on 2024/12/19 14:36
Change comment: There is no comment for this version

Summary

Details

XWiki.WikiMacroClass[0]
code
... ... @@ -20,9 +20,8 @@
20 20   || $services.security.authorization.hasAccess('edit', $href)
21 21   || $services.security.authorization.hasAccess('admin', $href)
22 22   )
23 - $href
24 24   #if ($canView)
25 - <a href="$href" style="text-decoration:none;">
24 + <a href="$xwiki.getDocument($href).getURL()" style="text-decoration:none;">
26 26   <div style="
27 27   display:grid;
28 28   text-align:center;