... |
... |
@@ -1,17 +1,10 @@ |
|
1 |
+ |
1 |
1 |
{{velocity}} |
2 |
|
-#set ($attachments = $doc.attachmentList) |
3 |
|
-#if ($attachments.size() > 0) |
4 |
|
- {{gallery}} |
5 |
|
- #foreach($attachment in $attachments) |
6 |
|
- #if($attachment.isImage()) |
7 |
|
- [[image:$attachment.filename]] |
8 |
|
- #end |
9 |
|
- #end |
10 |
|
- {{/gallery}} |
|
3 |
+#set ($attachments = $doc.GetAttachmentList ()) |
|
4 |
+ |
|
5 |
+{{gallery}} |
|
6 |
+#foreach (attachment in $attachments) #if (attachment.Filename.EndsWith (". Jpg") || attachment. Filename |
11 |
11 |
#end |
|
8 |
+#end |
|
9 |
+{{/gallery}} |
12 |
12 |
{{/velocity}} |
13 |
|
- |
14 |
|
- |
15 |
|
-{{attachmentGalleryPicker/}} |
16 |
|
- |
17 |
|
-{{attachmentGalleryPicker target="Space.Page"/}} |