From version 1.1 >
edited by Administrator
on 2015/07/06 22:29
To version < 3.1 >
edited by Sebastian Sams
on 2019/04/23 16:17
>
Change comment: Install extension [org.xwiki.platform:xwiki-platform-wiki-ui-mainwiki/10.11.6]

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Admin
1 +XWiki.ssams
Content
... ... @@ -1,11 +1,15 @@
1 1  {{velocity}}
2 -## Load the User Picker style for the wiki owner column.
3 -#set($discard = $xwiki.ssfx.use('uicomponents/widgets/userpicker/userPicker.css'))
2 +{{html}}
3 +#set ($createWikiDocReference = $services.model.createDocumentReference($services.wiki.mainWikiId, 'WikiManager', 'CreateWiki'))
4 +#if ($hasCreateWiki&& $xwiki.exists($createWikiDocReference)&& $services.security.authorization.hasAccess('view', $createWikiDocReference))
5 + <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>
6 +#end
7 +{{/html}}
4 4  #set($columns = ['wikiprettyname', 'description', 'owner', 'doc.creationDate', 'membershipType'])
5 5  #set($columnsProperties = {
6 6   'wikiprettyname' : { 'type' : 'text', 'link' : 'field' },
7 7   'description' : { 'type' : 'text' , 'size' : 50, 'html' : 'true' },
8 - 'owner' : { 'type' : 'text', 'size' : 10, 'html' : 'true' },
12 + 'owner' : { 'html' : 'true' },
9 9   'membershipType' : { 'sortable': false, 'filterable': false},
10 10   'doc.creationDate' : { 'type' : 'date', 'size' : 10, 'html' : 'false' }
11 11  })
Copyright 2018 - Österreichisches Weltraum Forum. All rights reserved.