Changes for page Browse Wikis
Last modified by Administrator on 2020/09/21 16:06
Change comment:
Install extension [org.xwiki.platform:xwiki-platform-wiki-ui-mainwiki/10.11.6]
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Admin1 +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 })