<html metal:use-macro="here/main_template/macros/master"
      xmlns:tal="http://xml.zope.org/namespaces/tal"
      xmlns:metal="http://xml.zope.org/namespaces/metal"
      xmlns:i18n="http://xml.zope.org/namespaces/i18n">
  <head>
    <title>order printing list</title>
    <meta http-equiv="content-type" content="text/html;charset=utf-8" />
    <link metal:fill-slot="base"
          rel="alternate" type="application/rss+xml"
          tal:attributes="title here/title_or_id;
                          href string:${here/absolute_url}/order_printing_list/xml" />
    
  </head>
  <body i18n:domain="photoprint">
    <div metal:fill-slot="main_no_tabs" tal:omit-tag="">
      RSS :
      <input type="text"
             tal:define="rss string:${context/absolute_url}/order_printing_list/xml"
             tal:attributes="value rss; size python:len(rss)"/>
      <table class="listing" cellspacing="0">
        <tr>
          <th i18n:translate="">Image</th>
          <th i18n:translate="">File</th>
          <th i18n:translate="">Format / type</th>
          <th i18n:translate="">Quantity</th>
        </tr>
        <tr  tal:repeat="i options/infos" tal:attributes="class python:repeat['i'].odd() and 'odd' or 'even'">
          <td>
            <a tal:attributes="href i/url">
              <img tal:attributes="src i/thumbUrl;
                                   alt i/title;
                                   height i/thumbHeight;
                                   width  i/thumbWidth"/>
            </a>
          </td>
          <td tal:content="i/id">image id</td>
          <td tal:content="i/title" class="num">job title</td>
          <td tal:content="i/quantity" class="num" style="border-right:1px solid black">quantity</td>
        </tr>
      </table>
      
      
    </div>
  </body>
</html>