... |
... |
@@ -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 |
|
- |