Wijzigen voor document ASolutionsDocument Sheet

Laatst gewijzigd door Sven Borman op 27-06-2019

<
Van versie < 14.1 >
gewijzigd door Sven Borman
op 28-05-2019
Naar versie < 9.2 >
gewijzigd door Sven Borman
op 19-05-2019
>
Opmerking bij wijziging: Er is geen opmerking bij deze versie

Samenvatting

Details

Paginaeigenschappen
Inhoud
... ... @@ -1,4 +1,6 @@
1 1  {{velocity}}
2 +#set ($displayShortcuts = false)
3 +
2 2  #set ($editorgroup = $xwiki.getUser($xcontext.user).isUserInGroup('xwiki:XWiki.Editor'))
3 3  #if ($editorgroup)
4 4   #set ($showattachments = true)
... ... @@ -6,25 +6,22 @@
6 6   #set ($showinformation = true)
7 7  #end
8 8  
11 +{{box cssClass="floatinginfobox" title="**Inhoudsopgave**" }}
12 + {{toc/}}
13 +{{/box}}
14 +
9 9  #if ($doc.fullName != 'XWiki.ASolutionsDocumentSheet')
10 10   #set($revisionClass = $doc.getObject("XWiki.ASolutionsDocumentClass"))
11 11   #if($revisionClass)
12 12   #set ($rev = $doc.getValue("revision"))
13 13   #if ("$!rev" != '')
14 - #if ($editorgroup)
15 - {{info}}Versie zichtbaar op internet: $rev
16 - Laatste versie: $doc.version{{/info}}
17 -
18 - $doc.content
20 + #set ($revDoc = $xwiki.getDocument($doc, $rev))
21 + #if ($revDoc)
22 + $revDoc.content
19 19   #else
20 - #set ($revDoc = $xwiki.getDocument($doc, $rev))
21 - #if ($revDoc)
22 - $revDoc.content
23 - #else
24 - {{error}}Invalid revision [$rev] specified, showing latest content{{/error}}
24 + {{error}}Invalid revision [$rev] specified, showing latest content{{/error}}
25 25  
26 - $doc.content
27 - #end
26 + $doc.content
28 28   #end
29 29   #else
30 30   = Nog niet beschikbaar =

Inhoudsopgave

Copyright © 2016-2025 ASolutions
Rivium Quadrant 181 - 2909 LC - Capelle aan den IJsselpubliek v14.10.5