Récupérations des slides (début d'implémentation).
authorBenoît Pin <pin@cri.ensmp.fr>
Wed, 9 Jul 2014 14:38:33 +0000 (16:38 +0200)
committerBenoît Pin <pin@cri.ensmp.fr>
Wed, 9 Jul 2014 14:38:33 +0000 (16:38 +0200)
skins/portfolio_thumbnails_tail.py [new file with mode: 0644]
skins/portfolio_thumbnails_tail_template.pt [new file with mode: 0644]

diff --git a/skins/portfolio_thumbnails_tail.py b/skins/portfolio_thumbnails_tail.py
new file mode 100644 (file)
index 0000000..819e759
--- /dev/null
@@ -0,0 +1,4 @@
+##parameters=start=0, size=10
+options={}
+options.update(context.getPhotosInfos(context))
+return context.portfolio_thumbnails_tail_template(**options)
\ No newline at end of file
diff --git a/skins/portfolio_thumbnails_tail_template.pt b/skins/portfolio_thumbnails_tail_template.pt
new file mode 100644 (file)
index 0000000..eead331
--- /dev/null
@@ -0,0 +1,10 @@
+<metal:block metal:use-macro="here/main_template_macros/macros/global_defines" />
+<thumbnails tal:define="infos options/infos;
+                 slide_size portal_object/slide_size;
+                 features options/features"
+     >
+  <div metal:use-macro="here/photo_layout_macros/macros/thumbnails">
+    thumbnails
+  </div>
+</thumbnails>
+<tal:block tal:define="global dummy python:request.RESPONSE.setHeader('Content-Type', 'text/xml;;charset=utf-8')" />