Renommage plus spécifique.
[Portfolio.git] / skins / sell_macros.pt
1 <html xmlns:tal="http://xml.zope.org/namespaces/tal"
2 xmlns:metal="http://xml.zope.org/namespaces/metal"
3 xmlns:i18n="http://xml.zope.org/namespaces/i18n">
4 <head>
5 <title>titre</title>
6 <meta http-equiv="content-type" content="text/html;charset=utf-8" />
7 </head>
8 <body i18n:domain="portfolio">
9 <table metal:define-macro="sell_steps" class="sell_steps_bar">
10 <tr tal:define="step_authentication exists:step_authentication;
11 step_shipping exists:step_shipping;
12 step_payment exists:step_payment;
13 step_confirmation step_confirmation|nothing">
14 <td class="done" i18n:translate="">Cart</td>
15 <td tal:attributes="class python:(not isAnon or step_authentication) and 'done' or None" i18n:translate="">Authentication</td>
16 <td tal:attributes="class python:not isAnon and (step_shipping and 'done' or None)" i18n:translate="">Shipping</td>
17 <td tal:attributes="class python:not isAnon and (step_payment and 'done' or None)" i18n:translate="">Payment</td>
18 <td tal:attributes="class python:not isAnon and (step_confirmation and 'done' or None)" i18n:translate="">Confirmation</td>
19 </tr>
20 </table>
21 </body>
22 </html>