Version 12.1 by Vincent Massol on 2014/03/26

Show last authors
1 {{velocity}}
2 ## Load the User Picker style for the wiki owner column.
3 #set($discard = $xwiki.ssfx.use('uicomponents/widgets/userpicker/userPicker.css'))
4 #set($columns = ['wikiprettyname', 'description', 'owner', 'doc.creationDate', 'membershipType'])
5 #set($columnsProperties = {
6 'wikiprettyname' : { 'type' : 'text', 'link' : 'field' },
7 'description' : { 'type' : 'text' , 'size' : 50, 'html' : 'true' },
8 'owner' : { 'type' : 'text', 'size' : 10, 'html' : 'true' },
9 'membershipType' : { 'sortable': false, 'filterable': false},
10 'doc.creationDate' : { 'type' : 'date', 'size' : 10, 'html' : 'false' }
11 })
12 #set($options = {
13 'className' : 'XWiki.XWikiServerClass',
14 'rowCount' : 10,
15 'resultPage' : 'WikiManager.WikisLiveTableResults',
16 'translationPrefix' : 'platform.wiki.browse.'
17 })
18 #if(!$isGuest)
19 #set($discard = $columns.add('_actions'))
20 #set($discard = $columnsProperties.put('_actions', { 'actions' : ['join', 'requestJoin', 'cancelJoinRequest', 'viewInvitation', 'leave', 'edit', 'delete'] }))
21 #end
22 #livetable('wikis', $columns, $columnsProperties, $options)
23 {{/velocity}}

Get Connected