Toggle navigation
Entrar
Registrar
Home
Application Index
Global
Diretório de Divisões
Browse Wikis
Código fonte Wiki de
Browse Wikis
Última modificação por
Administrator
em 20/09/2017, 19:17
Mostrar números de linha
{{velocity}} {{html}} #set ($createWikiDocReference = $services.model.createDocumentReference($services.wiki.mainWikiId, 'WikiManager', 'CreateWiki')) #if ($hasCreateWiki&& $xwiki.exists($createWikiDocReference)&& $services.security.authorization.hasAccess('view', $createWikiDocReference)) <p><a href="$xwiki.getURL('WikiManager.CreateWiki')" class="button button-success" id="tmCreateWiki">$services.icon.renderHTML('add') $services.localization.render('platform.wiki.create.button')</a></p> #end {{/html}} ## Load the User Picker style for the wiki owner column. #set($discard = $xwiki.ssfx.use('uicomponents/widgets/userpicker/userPicker.css')) #set($columns = ['wikiprettyname', 'description', 'owner', 'doc.creationDate', 'membershipType']) #set($columnsProperties = { 'wikiprettyname' : { 'type' : 'text', 'link' : 'field' }, 'description' : { 'type' : 'text' , 'size' : 50, 'html' : 'true' }, 'owner' : { 'type' : 'text', 'size' : 10, 'html' : 'true' }, 'membershipType' : { 'sortable': false, 'filterable': false}, 'doc.creationDate' : { 'type' : 'date', 'size' : 10, 'html' : 'false' } }) #set($options = { 'className' : 'XWiki.XWikiServerClass', 'rowCount' : 10, 'resultPage' : 'WikiManager.WikisLiveTableResults', 'translationPrefix' : 'platform.wiki.browse.' }) #if(!$isGuest) #set($discard = $columns.add('_actions')) #set($discard = $columnsProperties.put('_actions', { 'actions' : ['join', 'requestJoin', 'cancelJoinRequest', 'viewInvitation', 'leave', 'edit', 'delete'] })) #end #livetable('wikis', $columns, $columnsProperties, $options) #set($docextras=[]) {{/velocity}}