Wiki broncode van ASolutionsDocument Sheet
Version 10.7 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 | {{box cssClass="floatinginfobox" title="**Inhoudsopgave**" }} | ||
19 | {{info}}Versie zichtbaar op internet: $rev | ||
20 | Laatste versie: $doc.version{{/info}} | ||
21 | {{/box}} | ||
22 | #set ($revDoc = $xwiki.getDocument($doc, $rev)) | ||
23 | #if ($revDoc) | ||
24 | $revDoc.content | ||
25 | #else | ||
26 | {{error}}Invalid revision [$rev] specified, showing latest content{{/error}} | ||
27 | |||
28 | $doc.content | ||
29 | #end | ||
30 | #else | ||
31 | = Nog niet beschikbaar = | ||
32 | De tekst voor deze pagina is nog niet af. Wij werken er hard aan, zodat binnenkort dit onderdeel van de documentatie ook beschikbaar is. | ||
33 | #end | ||
34 | #else | ||
35 | $doc.content | ||
36 | #end | ||
37 | #end | ||
38 | {{/velocity}} |