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">
6 <title>Order listing</title>
7 <meta http-equiv="content-type" content="text/html;charset=utf-8" />
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>
18 <table class="listing" cellspacing="0">
19 <thead id="FolderListingHeader">
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>
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>
30 <a tal:content="order/reference" tal:attributes="href order/url"></a>
32 <td tal:content="order/quantity"></td>
33 <td tal:content="order/price/taxed"></td>
34 <td tal:content="order/state" i18n:translate=""></td>