Commit e1a0fb6e authored by Romain Courteaud's avatar Romain Courteaud

Fix message.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@26112 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 8713640f
...@@ -69,9 +69,7 @@ if portal_type:\n ...@@ -69,9 +69,7 @@ if portal_type:\n
else:\n else:\n
doc = context.portal_contributions.newContentFromURL(url=url)\n doc = context.portal_contributions.newContentFromURL(url=url)\n
\n \n
msg = translateString("${portal_type} created successfully.",\n msg = translateString("URL contributed successfully.")\n
mapping = {\'portal_type\': \'Lala\'})\n
# mapping = {\'portal_type\':doc.getPortalType()})\n
return context.Base_redirect(\'view\', keep_items = {\'portal_status_message\':msg})\n return context.Base_redirect(\'view\', keep_items = {\'portal_status_message\':msg})\n
</string> </value> </string> </value>
</item> </item>
......
37 38
\ No newline at end of file \ 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