Prise en compte de la nouvelle signature de « translate » et prise en charge des...
authorBenoît Pin <benoit.pin@gmail.com>
Thu, 3 Oct 2013 20:59:12 +0000 (22:59 +0200)
committerBenoît Pin <benoit.pin@gmail.com>
Thu, 3 Oct 2013 20:59:12 +0000 (22:59 +0200)
skins/order_notify_sent_form.pt

index aaf1a16..3ad6be0 100644 (file)
@@ -25,7 +25,7 @@
             <td tal:define="_ python:modules['Products.photoprint.utils'].translate">
               <input type="text" size="58"
                 name="subject"
-                tal:attributes="value python:_('[%s] order %s sending notification', here) % (here.portal_photo_print.store_name, here.getId())"/>
+                tal:attributes="value python:_('[%s] order %s sending notification') % (here.portal_photo_print.store_name, here.getId())"/>
             </td>
           </tr>
           <tr>
@@ -61,7 +61,7 @@
               <label tal:repeat="member python:mtool.getMembers(here.listCreators())">
                 <input type="checkbox" name="recipients:list" tal:attributes="value member/id" checked="checked" />
                 <span tal:replace="member/getMemberFullName">Membre full name</span>
-                &lt;<span tal:replace="member/email">member email</span>&gt;
+                &lt;<span tal:replace="python:member.getProperty('email')">member email</span>&gt;
               </label>
             </td>
           </tr>