Wiki source code of Space Index

Last modified by Thomas Mortagne on 2024/04/16 13:20

Show last authors
1 {{velocity}}
2 #if("$!request.space" != "")
3 #set($space=$request.space)
4 #else
5 #set($space = $doc.space)
6 #end
7 ## Since we display the space index, we do not display page titles and locations, but the old columns name and space
8 ## (old behavior consistent with this old macro)...
9
10 #set ($description = $services.localization.render('platform.index.spaceIndexDescription', [$space]))
11 #set ($description = $services.rendering.escape($description, 'xwiki/2.1'))
12 {{documents
13 space="$services.rendering.escape($space, 'xwiki/2.1')"
14 id="spaceindex"
15 columns="doc.name,doc.space,doc.date,doc.author"
16 description="$description"
17 /}}
18 #set($docextras=[])
19 {{/velocity}}