Changes for page Card Navigation

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

From version 14.36
edited by calvin_henderson
on 2024/12/18 13:14
Change comment: There is no comment for this version
To version 14.33
edited by calvin_henderson
on 2024/12/18 13:12
Change comment: There is no comment for this version

Summary

Details

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