projects
/
photoprint.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Support nouvelle signature de la fonction « translate ».
[photoprint.git]
/
skins
/
order_view_template.pt
diff --git
a/skins/order_view_template.pt
b/skins/order_view_template.pt
index
f3ba7d1
..
0678456
100644
(file)
--- a/
skins/order_view_template.pt
+++ b/
skins/order_view_template.pt
@@
-75,8
+75,7
@@
</table>
</td>
<td>
</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>
tal:attributes="src python:'%s/order_states/%s' % (portal_url, tr('%s-en.gif' % options['wfstate']))"
style="float:right"/>
</td>