X-Git-Url: https://svn.cri.mines-paristech.fr/git/photoprint.git/blobdiff_plain/1d0cdb42407f5505c0d0645f4ebe8a2546598bdd..5c9828e1adc12051dd1297dc63727161d1b0bb41:/skins/order_view_template.pt diff --git a/skins/order_view_template.pt b/skins/order_view_template.pt index f3ba7d1..5f748b2 100644 --- a/skins/order_view_template.pt +++ b/skins/order_view_template.pt @@ -75,8 +75,7 @@ </table> </td> <td> - <img tal:define="translate nocall:modules/Products/photoprint/utils/translate; - tr python:lambda msg: translate(msg, here)" + <img tal:define="tr nocall:modules/Products/photoprint/utils/translate" tal:attributes="src python:'%s/order_states/%s' % (portal_url, tr('%s-en.gif' % options['wfstate']))" style="float:right"/> </td> @@ -187,7 +186,6 @@ <tr tal:define="oddrow repeat/item/odd" tal:attributes="class python:test(oddrow, 'even', 'odd')" tal:condition="item/action"> <td tal:content="python:item['time'].strftime(locale_date_fmt)">time</td> - <td tal:condition="python:item['action'].startswith('auto_')">Cyberplus</td> <td tal:condition="python:not item['action'].startswith('auto_')" tal:content="python:mtool.getMemberFullNameById(item['actor'], nameBefore=0)">actor</td> <td tal:content="item/action" i18n:translate=""></td>