General Actions:
Log-in
Register
Home
▼
:
Wiki Index
»
Space:
WikiManager
»
Page:
WebHome
default
Page Actions:
Export
▼
:
Export as PDF
Export as RTF
Export as HTML
More actions
▼
:
Print preview
View Source
Welcome to bytebang
»
Browse Wikis
Wiki source code of
Browse Wikis
Last modified by
Administrator
on 2014/06/29 19:30
Content
Hide line numbers
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}}