Changes for page Featured

Last modified by Tobias Wintrich on 2025/06/04 09:20

From version 10.1
edited by Tobias Wintrich
on 2021/10/05 09:00
Change comment: There is no comment for this version
To version 12.1
edited by Tobias Wintrich
on 2021/10/05 09:01
Change comment: There is no comment for this version

Summary

Details

XWiki.WikiMacroClass[0]
Macro code
... ... @@ -5,7 +5,7 @@
5 5  #set ($results= $xwiki.searchDocuments($sql))
6 6  {{html}}
7 7  #if($wikimacro.parameters.bold == 'true')
8 -<b>
8 +<div style='font-weight: bold;'>
9 9  #end
10 10  #foreach ($result in $results)
11 11  #set($doc= $xwiki.getDocument($result))
... ... @@ -12,7 +12,7 @@
12 12  <a href="$doc.getURL()">$escapetool.xml($doc.plainTitle)</a>
13 13  #end
14 14  #if($wikimacro.parameters.bold == 'true')
15 -</b>
15 +</div>
16 16  #end
17 17  {{/html}}
18 18  {{/velocity}}