Ménage
[photoprint.git] / skins / order_notify_sent_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>" sent.</h2>
12 <div i18n:translate="">
13 Notify that order has been sent.
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="">Tracking info</h3>
22 <table class="TwoColumnForm">
23 <tr>
24 <th i18n:translate="mail_subject">Subject</th>
25 <td tal:define="_ python:modules['Products.photoprint.utils'].translate">
26 <input type="text" size="58"
27 name="subject"
28 tal:attributes="value python:_('[%s] order %s sending notification') % (here.portal_photo_print.store_name, here.getId())"/>
29 </td>
30 </tr>
31 <tr>
32 <th i18n:translate="">Comments</th>
33 <td>
34 <textarea name="comment" cols="50" rows="8" i18n:translate="">
35 Your order has been sent. You will receive your prints soon.
36 You will be able to track your parcel with the informations
37 below.
38
39 The <span tal:content="here/portal_photo_print/store_name|nothing"
40 tal:omit-tag=""
41 i18n:name="store_name"></span> team thanks you for your
42 confidence and wish you receipt you order.
43 </textarea>
44 </td>
45 </tr>
46 <tr>
47 <th i18n:translate="">Tracking number</th>
48 <td>
49 <input type="text" name="tracking_number" value="" size="20" />
50 </td>
51 </tr>
52 <tr>
53 <th i18n:translate="">Tracking url</th>
54 <td>
55 <input type="text" name="tracking_url" value="" size="58" />
56 </td>
57 </tr>
58 <tr>
59 <th i18n:translate="">Send email</th>
60 <td>
61 <label tal:repeat="member python:mtool.getMembers(here.listCreators())">
62 <input type="checkbox" name="recipients:list" tal:attributes="value member/id" checked="checked" />
63 <span tal:replace="member/getMemberFullName">Membre full name</span>
64 &lt;<span tal:replace="python:member.getProperty('email')">member email</span>&gt;
65 </label>
66 </td>
67 </tr>
68 <tr>
69 <td><br/></td>
70 <td>
71 <input type="hidden" name="syncFragments:tokens" value="rightCell" />
72 <input type="hidden" name="workflow_action" value="notify_sent" />
73 <input type="submit" value="Notify" i18n:attributes="value" />
74 </td>
75 </table>
76 </form>
77 </div>
78 </body>
79 </html>