Commit 951c503f authored by Romain Courteaud's avatar Romain Courteaud Committed by Rafael Monnerat

Fixes for the new web site.

parent 397a247b
...@@ -746,7 +746,7 @@ elif (mode == \'root\') or (mode == \'traverse\'):\n ...@@ -746,7 +746,7 @@ elif (mode == \'root\') or (mode == \'traverse\'):\n
\'method\': \'POST\'\n \'method\': \'POST\'\n
}\n }\n
action_dict[\'request_installation\'] = {\n action_dict[\'request_installation\'] = {\n
\'href\': "%s/Person_requestInstallationFromJio" % traversed_document.absolute_url(),\n \'href\': "%s/Computer_requestInstallationFromJio" % traversed_document.absolute_url(),\n
\'method\': \'POST\'\n \'method\': \'POST\'\n
}\n }\n
\n \n
......
...@@ -65,7 +65,7 @@ reference = "NET-%s" % portal.portal_ids.generateNewId(\n ...@@ -65,7 +65,7 @@ reference = "NET-%s" % portal.portal_ids.generateNewId(\n
module = portal.getDefaultModule(portal_type=network_portal_type)\n module = portal.getDefaultModule(portal_type=network_portal_type)\n
network = module.newContent(\n network = module.newContent(\n
portal_type=network_portal_type,\n portal_type=network_portal_type,\n
title=network_title,\n title=title,\n
reference=reference,\n reference=reference,\n
source_administration=context.getRelativeUrl()\n source_administration=context.getRelativeUrl()\n
)\n )\n
...@@ -77,7 +77,7 @@ network.validate()\n ...@@ -77,7 +77,7 @@ network.validate()\n
</item> </item>
<item> <item>
<key> <string>_params</string> </key> <key> <string>_params</string> </key>
<value> <string>network_title, REQUEST=None</string> </value> <value> <string>title, REQUEST=None</string> </value>
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
......
13 14
\ 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