Changes for page Card Navigation

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

From version 14.17
edited by calvin_henderson
on 2024/12/18 12:56
Change comment: There is no comment for this version
To version 14.28
edited by calvin_henderson
on 2024/12/18 13:05
Change comment: There is no comment for this version

Summary

Details

XWiki.WikiMacroClass[0]
code
... ... @@ -1,10 +1,12 @@
1 1  {{velocity}}
2 2  #set($wikiRef = $doc.documentReference.getWikiReference().getName())
3 3  #set($docRef = $doc.getFullName())
4 -#set($entries = $doc.getObject('XWiki.WikiMacroClass').getProperty('content').value)
5 -$doc.getObject('XWiki.WikiMacroClass')
6 6  
7 -#if("$xcontext.action" != "edit")
5 +#if("$xcontext.action" == "edit")
6 + |Icon Name|Title|Wiki link or URL|
7 + {{wikimacrocontent/}}
8 +#else
9 + #set($entries = $wikimacro.content)
8 8   {{html wiki="true"}}
9 9   <div style="display: grid;
10 10   grid-template-columns: 1fr 1fr 1fr;