Changes for page Card Navigation

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

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

Summary

Details

XWiki.WikiMacroClass[0]
code
... ... @@ -2,11 +2,8 @@
2 2  #set($wikiRef = $doc.documentReference.getWikiReference().getName())
3 3  #set($docRef = $doc.getFullName())
4 4  
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)
5 +#if("$xcontext.action" != "edit")
6 +#set($entries = $wikimacro.content)
10 10   {{html wiki="true"}}
11 11   <div style="display: grid;
12 12   grid-template-columns: 1fr 1fr 1fr;
... ... @@ -27,6 +27,7 @@
27 27   <h3>$card[1]</h3>
28 28   </div>
29 29   </a>
27 + $card[0],$card[1],$card[2]
30 30  #end
31 31   </div>
32 32   {{/html}}