Changes for page Space Index
Last modified by Simon Urli on 2024/04/09 11:23
Summary
-
Page properties (4 modified, 0 added, 0 removed)
-
Objects (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Title
-
... ... @@ -1,1 +1,1 @@ 1 -$msg.get(" xe.space.index")1 +$msg.get("platform.index.spaceIndex") - Author
-
... ... @@ -1,1 +1,1 @@ 1 -xwiki:XWiki. ThomasMortagne1 +xwiki:XWiki.VincentMassol - Hidden
-
... ... @@ -1,1 +1,1 @@ 1 - false1 +true - Content
-
... ... @@ -1,15 +1,7 @@ 1 1 {{velocity}} 2 2 #if("$!request.space" != "") #set($space=$request.space) #else #set($space = $doc.space) #end 3 -$msg.get('xe.space.index.description', [$space]) 4 -#set($collist = ["doc.name","doc.date", "doc.author", "_actions"]) 5 -#set($colprops = { 6 - "doc.name" : { "type" : "text" , "size" : 30, "link" : "view"}, 7 - "doc.date" : { "type" : "date" }, 8 - "doc.author" : { "type" : "text", "link" : "author"}, 9 - "_actions" : {"actions": ["copy","delete","rename","rights"]} 10 - }) 11 -#set($options = { "translationPrefix" : "xe.index.", 12 - "rowCount": 15, 13 - "extraParams" : "&space=$escapetool.url($space)" }) 14 -#livetable("spaceindex" $collist $colprops $options) 3 +$msg.get('platform.index.spaceIndexDescription', [$space]) 4 + 5 +{{documents space="$space.replaceAll('["~]', '~$0')" id="spaceindex"/}} 15 15 {{/velocity}} 7 +
- XWiki.WikiMacroClass[0]
-
- Macro code
-
... ... @@ -6,7 +6,7 @@ 6 6 ## 100 documents displayed by default if no value is specified 7 7 #set ($limit = '100') 8 8 #end 9 - #set ($limit = $ util.parseInt($limit))9 + #set ($limit = $mathtool.toInteger($limit)) 10 10 ## get the space to display the documents for 11 11 #set ($spaceParam = $doc.space) 12 12 #set ($spaceMacroParam = $xcontext.macro.params.get('space')) ... ... @@ -25,7 +25,7 @@ 25 25 #if ($remaining > 0) 26 26 (% class="documentListMore" %) ((( 27 27 // $msg.get('xe.dashboard.space.remainingDocumentsInSpace', [$remaining, $spaceParam]) 28 - [[$msg.get('xe.dashboard.space.visitSpaceIndex')>>Main.SpaceIndex?space=$spaceParam]] // 28 + [[$msg.get('xe.dashboard.space.visitSpaceIndex')>>Main.SpaceIndex?space=${escapetool.url($spaceParam)}]] // 29 29 ))) 30 30 #end 31 31 #end ... ... @@ -36,7 +36,7 @@ 36 36 #if ($hasCreatePage) 37 37 {{html}} 38 38 <ul class="xlist"> 39 - <li class="page create"><a href="$doc.getURL('create')">$msg.get(' xe.spaceIndex.documentList.create')</a></li>39 + <li class="page create"><a href="$doc.getURL('create')">$msg.get('platform.index.spaceIndexDocumentListCreate')</a></li> 40 40 </ul> 41 41 {{/html}} 42 42 #end