Résolu : problème de localisation avec zope-2.12.
[photoprint.git] / skins / my_orders_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 listing</title>
7 <meta http-equiv="content-type" content="text/html;charset=utf-8" />
8
9 </head>
10 <body i18n:domain="photoprint">
11 <div metal:fill-slot="main_no_tabs" tal:omit-tag=""
12 tal:define="orders options/orders;
13 columns options/columns">
14 <div tal:condition="orders" tal:omit-tag="">
15 <div tal:define="batch orders" tal:omit-tag="">
16 <span metal:use-macro="here/batch_macros/macros/navigation">batch navigation</span>
17 </div>
18 <table class="listing" cellspacing="0">
19 <thead id="FolderListingHeader">
20 <tr>
21 <th tal:attributes="width column_info/width; colspan column_info/colspan"
22 tal:repeat="column_info columns" nowrap="nowrap">
23 <span tal:replace="column_info/title">title</span>
24 </th>
25 </tr>
26 </thead>
27 <tr tal:repeat="order orders" tal:attributes="class python:repeat['order'].odd() and 'odd' or 'even'">
28 <td tal:content="python:order['created'].strftime(locale_date_fmt)"></td>
29 <td>
30 <a tal:content="order/reference" tal:attributes="href order/url"></a>
31 </td>
32 <td tal:content="order/quantity"></td>
33 <td tal:content="order/price/taxed"></td>
34 <td tal:content="order/state" i18n:translate=""></td>
35 </tr>
36 </table>
37 </div>
38 </div>
39 </body>
40 </html>