Changes for page Space Index
Last modified by Simon Urli on 2023/05/25 15:14
<
>
edited by Marius Dumitru Florea
on 2013/03/22 14:56
on 2013/03/22 14:56
edited by Marius Dumitru Florea
on 2013/07/15 10:04
on 2013/07/15 10:04
Change comment:
Import
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Objects (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Title
-
... ... @@ -1,1 +1,1 @@ 1 -$ msg.get("platform.index.spaceIndex")1 +$services.localization.render('platform.index.spaceIndex') - Content
-
... ... @@ -1,6 +1,7 @@ 1 1 {{velocity}} 2 2 #if("$!request.space" != "") #set($space=$request.space) #else #set($space = $doc.space) #end 3 -$ msg.get('platform.index.spaceIndexDescription', [$space])3 +$services.localization.render('platform.index.spaceIndexDescription', [$space]) 4 4 5 5 {{documents space="$space.replaceAll('["~]', '~$0')" id="spaceindex"/}} 6 6 {{/velocity}} 7 +
- XWiki.WikiMacroClass[0]
-
- Macro code
-
... ... @@ -24,8 +24,8 @@ 24 24 #set ($remaining = $mathtool.sub($docCount, $limit)) 25 25 #if ($remaining > 0) 26 26 (% class="documentListMore" %) ((( 27 - // $ msg.get('xe.dashboard.space.remainingDocumentsInSpace', [$remaining, $spaceParam])28 - [[$ msg.get('xe.dashboard.space.visitSpaceIndex')>>Main.SpaceIndex?space=${escapetool.url($spaceParam)}]] //27 + // $services.localization.render('xe.dashboard.space.remainingDocumentsInSpace', [$remaining, $spaceParam]) 28 + [[$services.localization.render('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('platform.index.spaceIndexDocumentListCreate')</a></li>39 + <li class="page create"><a href="$doc.getURL('create')">$services.localization.render('platform.index.spaceIndexDocumentListCreate')</a></li> 40 40 </ul> 41 41 {{/html}} 42 42 #end