Commit f7054909 authored by Vincent Desmares's avatar Vincent Desmares

# vincentd

fix missing import

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28182 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 85db2465
......@@ -53,7 +53,9 @@
</item>
<item>
<key> <string>_body</string> </key>
<value> <string>if (context.getPortalType() != \'Web Site\'):\n
<value> <string>translateString = context.Base_translateString \n
\n
if (context.getPortalType() != \'Web Site\'):\n
context.Base_redirect(\'\', keep_items={\n
\'portal_status_message\': translateString("You can only launch this script on a web site.", mapping = dict())\n
})\n
......
142
\ No newline at end of file
144
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment