Commit 6b9f2ee9 authored by Vincent Pelletier's avatar Vincent Pelletier

Return an url, not a title.



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@6657 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 1d3a346f
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>Python_magic</string> </key> <key> <string>Python_magic</string> </key>
<value> <string encoding="base64">O/INCg==</string> </value> <value> <string encoding="base64">bfINCg==</string> </value>
</item> </item>
<item> <item>
<key> <string>Script_magic</string> </key> <key> <string>Script_magic</string> </key>
...@@ -68,7 +68,7 @@ ...@@ -68,7 +68,7 @@
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string>section = context.WebSite_getSectionValue()\n <value> <string>section = context.WebSite_getSectionValue()\n
if section is not None:\n if section is not None:\n
return section.getTitle()\n return section.WebSite_getUrl()\n
return None\n return None\n
</string> </value> </string> </value>
</item> </item>
...@@ -80,7 +80,7 @@ return None\n ...@@ -80,7 +80,7 @@ return None\n
</item> </item>
<item> <item>
<key> <string>_filepath</string> </key> <key> <string>_filepath</string> </key>
<value> <string>Script (Python):/nexedi/portal_skins/erp5_web/WebSite_getSection</string> </value> <value> <string>Script (Python):/erp5/portal_skins/erp5_web/WebSite_getSection</string> </value>
</item> </item>
<item> <item>
<key> <string>_owner</string> </key> <key> <string>_owner</string> </key>
......
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