Wiki broncode van ASolutionsDocument Sheet
Version 10.5 by Sven Borman on 19-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 | {{info}}Versie zichtbaar op internet: $rev Laatste versie: $doc.version{{/info}} | ||
19 | |||
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}} | ||
25 | |||
26 | $doc.content | ||
27 | #end | ||
28 | #else | ||
29 | = Nog niet beschikbaar = | ||
30 | De tekst voor deze pagina is nog niet af. Wij werken er hard aan, zodat binnenkort dit onderdeel van de documentatie ook beschikbaar is. | ||
31 | #end | ||
32 | #else | ||
33 | $doc.content | ||
34 | #end | ||
35 | #end | ||
36 | {{/velocity}} |