Wijzigen voor document ASolutionsDocument Sheet
Laatst gewijzigd door Sven Borman op 27-06-2019
Opmerking bij wijziging:
Er is geen opmerking bij deze versie
Samenvatting
-
Paginaeigenschappen (1 gewijzigd, 0 toegevoegd, 0 verwijderd)
Details
- Paginaeigenschappen
-
- Inhoud
-
... ... @@ -1,37 +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 -{{box cssClass="floatinginfobox" title="**Inhoudsopgave**" }} 10 - {{toc/}} 11 -{{/box}} 12 - 13 -#if ($doc.fullName != 'XWiki.ASolutionsDocumentSheet') 14 - #set($revisionClass = $doc.getObject("XWiki.ASolutionsDocumentClass")) 15 - #if($revisionClass) 16 - #set ($rev = $doc.getValue("revision")) 17 - #if ("$!rev" != '') 18 - {{info}}Versie zichtbaar op internet: $rev 19 -Laatste versie: $doc.version{{/info}} 20 - 21 - #set ($revDoc = $xwiki.getDocument($doc, $rev)) 22 - #if ($revDoc) 23 - $revDoc.content 24 - #else 25 - {{error}}Invalid revision [$rev] specified, showing latest content{{/error}} 26 - 27 - $doc.content 28 - #end 29 - #else 30 - = Nog niet beschikbaar = 31 - De tekst voor deze pagina is nog niet af. Wij werken er hard aan, zodat binnenkort dit onderdeel van de documentatie ook beschikbaar is. 32 - #end 33 - #else 34 - $doc.content 35 - #end 5 +#set($class = $doc.getObject('XWiki.ASolutionsDocumentClass').xWikiClass) 6 +#foreach($prop in $class.properties) 7 + ; $doc.displayPrettyName($prop.name) 8 + : $doc.display($prop.name) 36 36 #end 37 37 {{/velocity}}