Changes for page Card Navigation

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

From version 18.8
edited by calvin_henderson
on 2024/12/18 13:45
Change comment: There is no comment for this version
To version 18.10
edited by calvin_henderson
on 2024/12/18 13:46
Change comment: There is no comment for this version

Summary

Details

XWiki.WikiMacroClass[0]
code
... ... @@ -5,10 +5,9 @@
5 5  #set ($targetSyntaxId = $wikimacro.context.transformationContext.targetSyntax.type.id)
6 6  #if ($targetSyntaxId == 'annotatedhtml' || $targetSyntaxId == 'annotatedxhtml')
7 7  [[Icon search>>https://fontawesome.com/v6/search?m=free]]
8 -Icon Name|Title|URL
9 ----------|-----|---
10 10  {{wikimacrocontent/}}
11 -#else
9 +#end
10 +#if("$xcontext.action" != "edit")
12 12  
13 13  
14 14  {{html wiki="false"}}
... ... @@ -37,11 +37,11 @@
37 37  
38 38  
39 39  #if ($wikimacro.parameters.enableSearch == true)
40 - ----
39 +----
41 41  
42 - == Search ==
41 +== Search ==
43 43  
44 - {{documentTree root="document:$wikiRef:$docRef" finder="true" limit="30"/}}
43 +{{documentTree root="document:$wikiRef:$docRef" finder="true" limit="30"/}}
45 45  #end
46 46  #end
47 47  {{/velocity}}