Changes for page Main Categories
Last modified by Ryan C on 2025/03/13 01:30
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,26 +1,1 @@ 1 1 {{dashboard/}} 2 - 3 -{{velocity}} 4 -#set($parentDoc = $xwiki.getDocument("Main.Categories.Race")) 5 -#set($children = $parentDoc.getChildren()) 6 - 7 -**Attachments for this page:** 8 -#set($attachments = $parentDoc.getAttachmentList()) 9 -#foreach($attachment in $attachments) 10 -- [$attachment.getFilename()]($parentDoc.getURL("download", $attachment.getFilename())) 11 -#end 12 - 13 -**Attachments from subpages:** 14 -#foreach($child in $children) 15 - #set($childDoc = $xwiki.getDocument($child)) 16 - #set($childAttachments = $childDoc.getAttachmentList()) 17 - 18 - #if($childAttachments.size() > 0) 19 - - **$childDoc.getTitle()** 20 - #foreach($attachment in $childAttachments) 21 - - [$attachment.getFilename()]($childDoc.getURL("download", $attachment.getFilename())) 22 - #end 23 - #end 24 -#end 25 -{{/velocity}} 26 -