Code source wiki de Tab
Modifié par superadmin le 2025/08/08 11:01
Afficher les derniers auteurs
| author | version | line-number | content |
|---|---|---|---|
| 1 | {{include reference="AnnotationCode.Macros" /}} | ||
| 2 | |||
| 3 | {{velocity filter="none"}} | ||
| 4 | {{html wiki="false" clean="false"}} | ||
| 5 | ## clean=false because otherwise the html macro fails on blockquote | ||
| 6 | #set($annotationsList = $services.annotations.getAnnotations($doc.prefixedFullName)) | ||
| 7 | #if($annotationsList.size() > 0) | ||
| 8 | <div id="allAnnotations"> | ||
| 9 | #foreach($ann in $annotationsList) | ||
| 10 | <div> ## anonymous annotation container | ||
| 11 | #displayAnnotation($ann, 'list', $doc.wiki, $doc.space, $doc.documentReference.name) | ||
| 12 | </div> | ||
| 13 | #end | ||
| 14 | </div> | ||
| 15 | #else | ||
| 16 | <p class="noitems">$services.localization.render('annotations.tab.info.noannotations')</p> | ||
| 17 | #end | ||
| 18 | {{/html}} | ||
| 19 | {{/velocity}} |