Changes for page Card Navigation

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

From version 19.1
edited by calvin_henderson
on 2024/12/18 13:46
Change comment: There is no comment for this version
To version 18.4
edited by calvin_henderson
on 2024/12/18 13:42
Change comment: There is no comment for this version

Summary

Details

XWiki.WikiMacroClass[0]
code
... ... @@ -2,6 +2,11 @@
2 2  #set($wikiRef = $doc.documentReference.getWikiReference().getName())
3 3  #set($docRef = $doc.getFullName())
4 4  #set($entries = $wikimacro.content)
5 +#set ($targetSyntaxId = $wikimacro.context.transformationContext.targetSyntax.type.id)
6 +#if ($targetSyntaxId == 'annotatedhtml' || $targetSyntaxId == 'annotatedxhtml')
7 +[[Icon search>>https://fontawesome.com/v6/search?m=free]]
8 +{{wikimacrocontent/}}
9 +#end
5 5  #if("$xcontext.action" != "edit")
6 6  
7 7  
contentDescription
... ... @@ -1,1 +1,2 @@
1 +icon-name|title|link\n
1 1  icon-name|title|link