Changes for page Card Navigation

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

From version 14.3
edited by calvin_henderson
on 2024/12/18 12:48
Change comment: There is no comment for this version
To version 13.5
edited by calvin_henderson
on 2024/12/18 12:44
Change comment: There is no comment for this version

Summary

Details

XWiki.WikiMacroClass[0]
code
... ... @@ -1,15 +1,16 @@
1 1  {{velocity}}
2 +
2 2  #set( $wikiRef = $doc.documentReference.getWikiReference().getName() )
3 3  #set( $docRef = $doc.getFullName() )
4 4  
5 -
6 -#if("$xcontext.action" != "edit")
6 +##if("$xcontext.action" != "edit")
7 7   {{html wiki="true"}}
8 8   <div style="display: grid;
9 9   grid-template-columns: 1fr 1fr 1fr;
10 10   gap: 10px;
11 11   ">
12 -#foreach($entry in $doc.getContent().split('\n'))
12 +#foreach($entry in $wikimacrocontent.split('\n'))
13 + <span>$entry - $wikimacrocontent</span>
13 13   #set($card = $entry.split('\|'))
14 14   <a href="$card[2]" style="text-decoration:none;">
15 15   <div style="
... ... @@ -27,7 +27,7 @@
27 27  #end
28 28   </div>
29 29   {{/html}}
30 -#end
31 +##end
31 31  
32 32  
33 33  ----