Wiki source code of ${stringtool.stripEnd($doc.title, '?')}?
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | {{velocity}} | ||
2 | #set($faq = $doc.getObject('FAQCode.FAQClass')) | ||
3 | #if($faq) | ||
4 | $doc.use('FAQCode.FAQClass') | ||
5 | #if ($xcontext.action == 'view') | ||
6 | #set ($answer = $doc.getValue('answer')) | ||
7 | #if ("$!answer" != "") | ||
8 | $doc.display('answer') | ||
9 | #else | ||
10 | {{error}} | ||
11 | $services.localization.render('platform.faq.noAnswer') | ||
12 | {{/error}} | ||
13 | #end | ||
14 | #else | ||
15 | $doc.display('answer') | ||
16 | #end | ||
17 | #else | ||
18 | $services.localization.render('platform.faq.sheet') | ||
19 | #end |