eggification
[Portfolio.git] / Products / Portfolio / skins / photo_view_ajax_template.pt
diff --git a/Products/Portfolio/skins/photo_view_ajax_template.pt b/Products/Portfolio/skins/photo_view_ajax_template.pt
new file mode 100644 (file)
index 0000000..9cb60a2
--- /dev/null
@@ -0,0 +1,19 @@
+<fragments i18n:domain="portfolio"
+           tal:define="imgId here/getId;
+                       translate nocall:modules/Products/Portfolio/utils/translate;
+                        _ python:lambda msg : translate(msg, here)"
+           xmlns:i18n="http://xml.zope.org/namespaces/i18n"
+           xmlns:tal="http://xml.zope.org/namespaces/tal"
+           xmlns:metal="http://xml.zope.org/namespaces/metal">
+  <div metal:use-macro="here/main_template_macros/macros/global_defines" tal:omit-tag=""/>
+  <imageattributes tal:attributes="alt here/Title;
+                                   back_to_context_url options/backToContextUrl;
+                                   last_bc_url options/lastBcUrl;
+                                   img_id imgId;
+                                   buyable options/buyable"/>
+  <fragment id="image_metadata"><span tal:replace="structure string:&lt;![CDATA[" />
+    <div metal:use-macro="here/photo_view/macros/image_metadata">image metadata</div>
+  <span tal:replace="structure string:]]>" /></fragment>
+  <fragment id="BC_Object_URL" tal:content="options/lastBcUrl"></fragment>
+  <tal:block tal:define="dummy python:request.RESPONSE.setHeader('Content-Type', 'text/xml;;charset=utf-8')"/>
+</fragments>
\ No newline at end of file