Changes for page Pages on this Wiki
Last modified by Thomas Mortagne on 2015/11/23 11:40
From version 24.1
edited by Thomas Mortagne
on 2015/11/23 11:40
on 2015/11/23 11:40
Change comment:
Install extension [org.xwiki.platform:xwiki-platform-index-ui-7.3]
Summary
-
Page properties (3 modified, 0 added, 0 removed)
Details
- Page properties
-
- Title
-
... ... @@ -1,1 +1,1 @@ 1 -$s ervices.localization.render('platform.index.documents')1 +$msg.get("platform.index.documents") - Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. ThomasMortagne1 +XWiki.mflorea - Content
-
... ... @@ -13,15 +13,13 @@ 13 13 ##======== 14 14 #set($tabs = []) 15 15 #macro(addAllDocsTab $tab) 16 - #if($xwiki.hasAccessLevel('view', "$! xcontext.user", $tab.get('document')))16 + #if($xwiki.hasAccessLevel('view', "$!context.user", $tab.get('document'))) 17 17 #set($discard = $tabs.add($tab)) 18 18 #end 19 19 #end 20 20 #addAllDocsTab({'tabName' : 'index', 'idSuffix' : 'index', 'translationKey' : 'platform.index', 'document' : 'XWiki.Tableview'}) 21 21 #addAllDocsTab({'tabName' : 'tree', 'idSuffix' : 'treeview', 'translationKey' : 'platform.index.tree', 'document' : 'XWiki.Treeview'}) 22 -#if ($services.parentchild.isParentChildMechanismEnabled()) 23 - #addAllDocsTab({'tabName' : 'orphans', 'idSuffix' : 'orphansview', 'translationKey' : 'platform.index.orphaned', 'document' : 'XWiki.OrphanedPages'}) 24 -#end 22 +#addAllDocsTab({'tabName' : 'orphans', 'idSuffix' : 'orphansview', 'translationKey' : 'platform.index.orphaned', 'document' : 'XWiki.OrphanedPages'}) 25 25 #addAllDocsTab({'tabName' : 'attachments', 'idSuffix' : 'attachments', 'translationKey' : 'platform.index.attachments', 'document' : 'XWiki.AllAttachments'}) 26 26 #addAllDocsTab({'tabName' : 'deletedDocs', 'idSuffix' : 'deletedDocs', 'translationKey' : 'platform.index.documentsTrash', 'document' : 'XWiki.DeletedDocuments'}) 27 27 #addAllDocsTab({'tabName' : 'deletedAttachments', 'idSuffix' : 'deletedAttachments', 'translationKey' : 'platform.index.attachmentsTrash', 'document' : 'XWiki.DeletedAttachments'}) ... ... @@ -39,7 +39,7 @@ 39 39 <div class="floatcontainer"> 40 40 <ul class="xwikitabbar"> 41 41 #foreach ($tab in $tabs) 42 - <li id="xwiki$tab['idSuffix']"#if($view == $tab['tabName']) class="active"#end><a href="$doc.getURL('view', "view=$tab['tabName']&$!param")">$s ervices.localization.render($tab['translationKey'])</a></li>40 + <li id="xwiki$tab['idSuffix']"#if($view == $tab['tabName']) class="active"#end><a href="$doc.getURL('view', "view=$tab['tabName']&$!param")">$msg.get($tab['translationKey'])</a></li> 43 43 #end 44 44 </ul> 45 45 </div> ... ... @@ -52,11 +52,10 @@ 52 52 <div class='xwikitabpanescontainer'> 53 53 #foreach ($tab in $tabs) 54 54 #if ($tab['tabName'] == $view) 55 - {{include reference="$tab['document']"/}}53 + {{include document="$tab['document']"/}} 56 56 #break 57 57 #end 58 58 #end 59 59 </div> 60 60 {{/html}} 61 -#set($docextras=[]) 62 62 {{/velocity}}