Wiki source code of $services.localization.render('platform.wiki.browse')
Version 9.1 by ad2014 on 2014/02/15
Show last authors
author | version | line-number | content |
---|---|---|---|
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 | }) <a href="http://www.cheapebooksonline.org/buy/romance-ebooks-c109/">buy ebooks</a> | ||
11 | |||
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}} |