Wiki broncode van ASolutionsDocument Sheet
Version 12.1 by Sven Borman on 20-05-2019
Hide last authors
author | version | line-number | content |
---|---|---|---|
![]() |
1.1 | 1 | {{velocity}} |
![]() |
6.1 | 2 | #set ($editorgroup = $xwiki.getUser($xcontext.user).isUserInGroup('xwiki:XWiki.Editor')) |
3 | #if ($editorgroup) | ||
![]() |
8.3 | 4 | #set ($showattachments = true) |
![]() |
6.1 | 5 | #set ($showhistory = true) |
![]() |
8.3 | 6 | #set ($showinformation = true) |
![]() |
6.1 | 7 | #end |
![]() |
1.1 | 8 | |
![]() |
7.1 | 9 | {{box cssClass="floatinginfobox" title="**Inhoudsopgave**" }} |
![]() |
6.1 | 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" != '') | ||
![]() |
11.2 | 18 | #if ($editorgroup) |
19 | {{info}}Versie zichtbaar op internet: $rev | ||
20 | Laatste versie: $doc.version{{/info}} | ||
![]() |
11.1 | 21 | |
![]() |
12.1 | 22 | $doc.content |
23 | #elseif | ||
24 | #set ($revDoc = $xwiki.getDocument($doc, $rev)) | ||
25 | #if ($revDoc) | ||
26 | $revDoc.content | ||
27 | #else | ||
28 | {{error}}Invalid revision [$rev] specified, showing latest content{{/error}} | ||
![]() |
6.1 | 29 | |
![]() |
12.1 | 30 | $doc.content |
31 | #end | ||
![]() |
6.1 | 32 | #end |
33 | #else | ||
![]() |
8.1 | 34 | = Nog niet beschikbaar = |
35 | De tekst voor deze pagina is nog niet af. Wij werken er hard aan, zodat binnenkort dit onderdeel van de documentatie ook beschikbaar is. | ||
![]() |
6.1 | 36 | #end |
37 | #else | ||
38 | $doc.content | ||
39 | #end | ||
![]() |
1.1 | 40 | #end |
41 | {{/velocity}} |