Résolu : problème de localisation avec zope-2.12.
[photoprint.git] / skins / order_printing_list_template.pt
1 <html metal:use-macro="here/main_template/macros/master"
2 xmlns:tal="http://xml.zope.org/namespaces/tal"
3 xmlns:metal="http://xml.zope.org/namespaces/metal"
4 xmlns:i18n="http://xml.zope.org/namespaces/i18n">
5 <head>
6 <title>order printing list</title>
7 <meta http-equiv="content-type" content="text/html;charset=utf-8" />
8 <link metal:fill-slot="base"
9 rel="alternate" type="application/rss+xml"
10 tal:attributes="title here/title_or_id;
11 href string:${here/absolute_url}/order_printing_list/xml" />
12
13 </head>
14 <body i18n:domain="photoprint">
15 <div metal:fill-slot="main_no_tabs" tal:omit-tag="">
16 RSS :
17 <input type="text"
18 tal:define="rss string:${context/absolute_url}/order_printing_list/xml"
19 tal:attributes="value rss; size python:len(rss)"/>
20 <table class="listing" cellspacing="0">
21 <tr>
22 <th i18n:translate="">Image</th>
23 <th i18n:translate="">File</th>
24 <th i18n:translate="">Format / type</th>
25 <th i18n:translate="">Quantity</th>
26 </tr>
27 <tr tal:repeat="i options/infos" tal:attributes="class python:repeat['i'].odd() and 'odd' or 'even'">
28 <td>
29 <a tal:attributes="href i/url">
30 <img tal:attributes="src i/thumbUrl;
31 alt i/title;
32 height i/thumbHeight;
33 width i/thumbWidth"/>
34 </a>
35 </td>
36 <td tal:content="i/id">image id</td>
37 <td tal:content="i/title" class="num">job title</td>
38 <td tal:content="i/quantity" class="num" style="border-right:1px solid black">quantity</td>
39 </tr>
40 </table>
41
42
43 </div>
44 </body>
45 </html>