Changes for page Card Navigation

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

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

Summary

Details

XWiki.WikiMacroClass[0]
code
... ... @@ -5,22 +5,14 @@
5 5  #if("$xcontext.action" != "edit")
6 6  
7 7  
8 -$entries
9 -
10 -
11 -
12 12  {{html wiki="true"}}
13 -#if (false)
14 14   <div style="display: grid;
15 15   grid-template-columns: 1fr 1fr 1fr;
16 16   gap: 10px;
17 17   ">
18 -#end
19 -
20 -#foreach($entry in $entries.split('\n'))
21 - #set($card = $entry.split('\|'))
22 - #if (false)
23 - <a href="$card[2]" style="text-decoration:none;">
13 + #foreach($entry in $entries.split('\n'))
14 + #set($card = $entry.split('\|'))
15 + <a href="$card[2].toString()" style="text-decoration:none;">
24 24   <div style="
25 25   display:grid;
26 26   text-align:center;
... ... @@ -34,12 +34,10 @@
34 34   </div>
35 35   </a>
36 36   #end
37 -
38 - $card[0],$card[1],$card[2]
39 -#end
40 -## </div>
29 + </div>
41 41  {{/html}}
42 42  
32 +
43 43  ----
44 44  
45 45  == Search ==