Cosmétique (début).
[Portfolio.git] / skins / photo_view_ajax_template.pt
1 <fragments i18n:domain="portfolio"
2 tal:define="imgId here/getId;
3 translate nocall:modules/Products/Portfolio/utils/translate;
4 _ python:lambda msg : translate(msg, here)"
5 xmlns:i18n="http://xml.zope.org/namespaces/i18n"
6 xmlns:tal="http://xml.zope.org/namespaces/tal"
7 xmlns:metal="http://xml.zope.org/namespaces/metal">
8 <div metal:use-macro="here/main_template_macros/macros/global_defines" tal:omit-tag=""/>
9 <imageattributes tal:attributes="alt here/Title;
10 back_to_context_url options/backToContextUrl;
11 last_bc_url options/lastBcUrl;
12 img_id imgId;
13 buyable options/buyable"/>
14 <fragment id="image_metadata"><span tal:replace="structure string:&lt;![CDATA[" />
15 <div metal:use-macro="here/photo_view/macros/image_metadata">image metadata</div>
16 <span tal:replace="structure string:]]>" /></fragment>
17 <fragment id="BC_Object_URL" tal:content="options/lastBcUrl"></fragment>
18 <tal:block tal:define="dummy python:request.RESPONSE.setHeader('Content-Type', 'text/xml;;charset=utf-8')"/>
19 </fragments>