Wijzigen voor document ASolutionsDocument Sheet

Laatst gewijzigd door Sven Borman op 28-06-2019

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

Samenvatting

Details

Paginaeigenschappen
Inhoud
... ... @@ -1,42 +1,10 @@
1 1  {{velocity}}
2 -#set ($editorgroup = $xwiki.getUser($xcontext.user).isUserInGroup('xwiki:XWiki.Editor'))
3 -#if ($editorgroup)
4 - #set ($showattachments = true)
5 - #set ($showhistory = true)
6 - #set ($showinformation = true)
7 -#end
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.
8 8  
9 -#if ($doc.fullName != 'XWiki.ASolutionsDocumentSheet')
10 - #set($revisionClass = $doc.getObject("XWiki.ASolutionsDocumentClass"))
11 - #if($revisionClass)
12 - #if ($editorgroup)
13 - {{info}}Versie zichtbaar op internet: $rev
14 - Laatste versie: $doc.version{{/info}}
15 -
16 - $doc.content
17 - #else
18 - #set ($rev = $doc.getValue("revision"))
19 - #if ("$!rev" != '')
20 - #set ($revDoc = $xwiki.getDocument($doc, $rev))
21 - #if ($revDoc)
22 - $revDoc.content
23 - #else
24 - #if ($editorgroup)
25 - {{error}}Versie: [$rev] bestaat niet{{/error}}
26 - #end
27 -
28 - = Nog niet beschikbaar =
29 - De tekst voor deze pagina is nog niet af. Wij werken er hard aan, zodat binnenkort dit onderdeel van de documentatie ook beschikbaar is.
30 - #end
31 - #else
32 - = Nog niet beschikbaar =
33 - De tekst voor deze pagina is nog niet af. Wij werken er hard aan, zodat binnenkort dit onderdeel van de documentatie ook beschikbaar is.
34 - #end
35 - #end
36 - #else
37 - $doc.content
38 - #end
39 -#else
40 - $doc.content
5 +#set($class = $doc.getObject('XWiki.ASolutionsDocumentClass').xWikiClass)
6 +#foreach($prop in $class.properties)
7 + ; $doc.displayPrettyName($prop.name)
8 + : $doc.display($prop.name)
41 41  #end
42 42  {{/velocity}}

Inhoudsopgave

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