Wiki broncode van ASolutionsDocument Sheet
Version 12.1 by Sven Borman on 20-05-2019
Show last authors
author | version | line-number | content |
---|---|---|---|
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 | ||
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 | #if ($editorgroup) | ||
19 | {{info}}Versie zichtbaar op internet: $rev | ||
20 | Laatste versie: $doc.version{{/info}} | ||
21 | |||
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}} | ||
29 | |||
30 | $doc.content | ||
31 | #end | ||
32 | #end | ||
33 | #else | ||
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. | ||
36 | #end | ||
37 | #else | ||
38 | $doc.content | ||
39 | #end | ||
40 | #end | ||
41 | {{/velocity}} |