General Actions:
Log-in
Register
Home
▼
:
Wiki Index
Document Index
User Index
»
Space:
WikiManager
▼
:
Document Index
»
Page:
WebHome
Search
Page Actions:
Export
▼
:
Export as PDF
Export as RTF
Export as HTML
More actions
▼
:
Print preview
View Source
Welcome to the CB-NL Wiki
»
Browse Wikis
Wiki source code of
Browse Wikis
Last modified by
Administrator
on 2013/12/17 21:44
Content
·
Comments
(0)
·
Attachments
(0)
·
History
·
Information
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', '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: }) 11: #set($options = { 12: 'className' : 'XWiki.XWikiServerClass', 13: 'rowCount' : 10, 14: 'resultPage' : 'WikiManager.WikisLiveTableResults', 15: 'translationPrefix' : 'platform.wiki.browse.' 16: }) 17: #if(!$isGuest) 18: #set($discard = $columns.add('_actions')) 19: #set($discard = $columnsProperties.put('_actions', { 'actions' : ['join', 'requestJoin', 'cancelJoinRequest', 'viewInvitation', 'leave', 'edit', 'delete'] })) 20: #end 21: #livetable('wikis', $columns, $columnsProperties, $options) 22: {{/velocity}}