Commit 61f999fe authored by Gabriel Monnerat's avatar Gabriel Monnerat

change way to get the erp5 site url

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@44444 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 22c5db18
......@@ -51,10 +51,14 @@
<item>
<key> <string>_body</string> </key>
<value> <string>context.ERP5Site_userFollowUpWebPage(context.getReference())\n
\n
if context.getReference().startswith("default-"):\n
context.setReference(DateTime().millis())\n
\n
context.share()\n
return "%s/?key=%s" % (context.REQUEST.get("URL3"), context.getReference())\n
base_url = context.getPortalObject().absolute_url()\n
\n
return "%s/?key=%s" % (base_url, context.getReference())\n
</string> </value>
</item>
<item>
......
304
\ No newline at end of file
305
\ 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