Wiki source code of Space Index
Last modified by leeb chi on 2020/05/13, 02:14
Hide last authors
| author | version | line-number | content |
|---|---|---|---|
| |
1.1 | 1 | {{velocity}} |
| 2 | #if("$!request.space" != "") #set($space=$request.space) #else #set($space = $doc.space) #end | ||
| 3 | $services.localization.render('platform.index.spaceIndexDescription', [$space]) | ||
| 4 | ## Since we display the space index, we do not display page titles and locations, but the old columns name and space | ||
| 5 | ## (old behavior consistent with this old macro)... | ||
| 6 | |||
| 7 | {{documents space="$space.replaceAll('["~]', '~$0')" id="spaceindex" columns="doc.name, doc.space, doc.date, doc.author"/}} | ||
| 8 | #set($docextras=[]) | ||
| 9 | {{/velocity}} |