Mise à jour fonction utilitaire « translate ».
[photoprint.git] / skins / order_notify_done_form.pt
1 <html metal:use-macro="here/main_template/macros/master">
2 <head>
3 <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
4 </head>
5 <body i18n:domain="photoprint">
6 <div metal:fill-slot="main_no_tabs"
7 tal:define="getToolByName python:modules['Products.CMFCore.utils'].getToolByName;
8 wtool python:getToolByName(here, 'portal_workflow');
9 review_state python: wtool.getInfoFor(here, 'review_state', wf_id='order_workflow')"
10 tal:omit-tag="">
11 <h2 i18n:translate="">Notify order "<span tal:replace="here/title_or_id" i18n:name="order_reference">Item</span>" done.</h2>
12 <div i18n:translate="">
13 Notify that order has been made.
14 </div>
15
16 <form method="post" tal:attributes="action string:${here/absolute_url}/content_status_modify">
17 <p>
18 <span i18n:translate="" tal:omit-tag="">Current state:</span>
19 <span tal:content="review_state" i18n:translate="" tal:omit-tag="">state</span>
20 </p>
21 <h3 i18n:translate="">Comments</h3>
22 <textarea name="comment" cols="60" rows="5"></textarea>
23 <br/>
24 <input type="hidden" name="syncFragments:tokens" value="rightCell" />
25 <input type="hidden" name="workflow_action" value="notify_done" />
26 <input type="submit" value="Notify" i18n:attributes="value" />
27 </form>
28 </div>
29 </body>
30 </html>