Wijzigen voor document ASolutionsDocument Sheet

Laatst gewijzigd door Sven Borman op 27-06-2019

Van versie 1.1 >
gewijzigd door Sven Borman
op 18-05-2019
Naar versie < 7.1 >
gewijzigd door Sven Borman
op 19-05-2019
>
Opmerking bij wijziging: Er is geen opmerking bij deze versie

Samenvatting

Details

Paginaeigenschappen
Inhoud
... ... @@ -1,10 +1,31 @@
1 1  {{velocity}}
2 -## You can modify this page to customize the presentation of your object.
3 -## At first you should keep the default presentation and just save the document.
2 +#set ($editorgroup = $xwiki.getUser($xcontext.user).isUserInGroup('xwiki:XWiki.Editor'))
3 +#if ($editorgroup)
4 + #set ($showhistory = true)
5 +#end
4 4  
5 -#set($class = $doc.getObject('XWiki.ASolutionsDocumentClass').xWikiClass)
6 -#foreach($prop in $class.properties)
7 - ; $doc.displayPrettyName($prop.name)
8 - : $doc.display($prop.name)
7 +{{box cssClass="floatinginfobox" title="**Inhoudsopgave**" }}
8 + {{toc/}}
9 +{{/box}}
10 +
11 +#if ($doc.fullName != 'XWiki.ASolutionsDocumentSheet')
12 + #set($revisionClass = $doc.getObject("XWiki.ASolutionsDocumentClass"))
13 + #if($revisionClass)
14 + #set ($rev = $doc.getValue("revision"))
15 + #if ("$!rev" != '')
16 + #set ($revDoc = $xwiki.getDocument($doc, $rev))
17 + #if ($revDoc)
18 + $revDoc.content
19 + #else
20 + {{error}}Invalid revision [$rev] specified, showing latest content{{/error}}
21 +
22 + $doc.content
23 + #end
24 + #else
25 + $doc.content
26 + #end
27 + #else
28 + $doc.content
29 + #end
9 9  #end
10 10  {{/velocity}}

Inhoudsopgave

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