Wiki broncode van ASolutionsDocument Sheet
Version 14.1 by Sven Borman on 28-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 | |
![]() |
6.1 | 9 | #if ($doc.fullName != 'XWiki.ASolutionsDocumentSheet') |
10 | #set($revisionClass = $doc.getObject("XWiki.ASolutionsDocumentClass")) | ||
11 | #if($revisionClass) | ||
12 | #set ($rev = $doc.getValue("revision")) | ||
13 | #if ("$!rev" != '') | ||
![]() |
11.2 | 14 | #if ($editorgroup) |
15 | {{info}}Versie zichtbaar op internet: $rev | ||
16 | Laatste versie: $doc.version{{/info}} | ||
![]() |
11.1 | 17 | |
![]() |
12.1 | 18 | $doc.content |
![]() |
13.1 | 19 | #else |
![]() |
12.1 | 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}} | ||
![]() |
6.1 | 25 | |
![]() |
12.1 | 26 | $doc.content |
27 | #end | ||
![]() |
6.1 | 28 | #end |
29 | #else | ||
![]() |
8.1 | 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. | ||
![]() |
6.1 | 32 | #end |
33 | #else | ||
34 | $doc.content | ||
35 | #end | ||
![]() |
1.1 | 36 | #end |
37 | {{/velocity}} |