Changes for page Card Navigation

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

From version 14.40
edited by calvin_henderson
on 2024/12/18 13:19
Change comment: There is no comment for this version
To version 14.49
edited by calvin_henderson
on 2024/12/18 13:22
Change comment: There is no comment for this version

Summary

Details

XWiki.WikiMacroClass[0]
code
... ... @@ -5,6 +5,10 @@
5 5  #if("$xcontext.action" != "edit")
6 6  
7 7  
8 +$entries
9 +
10 +
11 +
8 8  {{html wiki="true"}}
9 9  #if (false)
10 10   <div style="display: grid;
... ... @@ -12,6 +12,7 @@
12 12   gap: 10px;
13 13   ">
14 14  #end
19 +
15 15  #foreach($entry in $entries.split('\n'))
16 16   #set($card = $entry.split('\|'))
17 17   #if (false)
... ... @@ -29,6 +29,7 @@
29 29   </div>
30 30   </a>
31 31   #end
37 +
32 32   $card[0],$card[1],$card[2]
33 33  #end
34 34  ## </div>