Commit 371daf96 authored by Sebastien Robin's avatar Sebastien Robin

Do not use the site id directly, use a variable ${base_url} instead

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@9767 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 31e4a1e4
...@@ -68,7 +68,7 @@ ...@@ -68,7 +68,7 @@
<tal:block metal:use-macro="here/BTZuite_CommonTemplate/macros/init" />\n <tal:block metal:use-macro="here/BTZuite_CommonTemplate/macros/init" />\n
<tr>\n <tr>\n
\t<td>open</td>\n \t<td>open</td>\n
\t<td>/erp5/portal_templates/TemplateTool_viewUpdateRepositoryBusinessTemplateListDialog?dialog_category=object_exchange&cancel_url=http%3A//127.0.0.1%3A9080/erp5/portal_templates/&selection_index:int=0&form_id=TemplateTool_viewBusinessTemplateList&selection_name=business_template_selection</td>\n \t<td>${base_url}/portal_templates/TemplateTool_viewUpdateRepositoryBusinessTemplateListDialog?dialog_category=object_exchange&cancel_url=http%3A//127.0.0.1%3A9080/erp5/portal_templates/&selection_index:int=0&form_id=TemplateTool_viewBusinessTemplateList&selection_name=business_template_selection</td>\n
\t<td></td>\n \t<td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
...@@ -83,7 +83,7 @@ ...@@ -83,7 +83,7 @@
</tr>\n </tr>\n
<tr>\n <tr>\n
\t<td>open</td>\n \t<td>open</td>\n
\t<td>/erp5/portal_templates/TemplateTool_callViewInstallRepositoryBusinessTemplateListDialog</td>\n \t<td>${base_url}/portal_templates/TemplateTool_callViewInstallRepositoryBusinessTemplateListDialog</td>\n
\t<td></td>\n \t<td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
...@@ -133,7 +133,7 @@ ...@@ -133,7 +133,7 @@
</tr>\n </tr>\n
<tr>\n <tr>\n
\t<td>open</td>\n \t<td>open</td>\n
\t<td>/erp5/portal_templates/TemplateTool_callViewInstallRepositoryBusinessTemplateListDialog</td>\n \t<td>${base_url}/portal_templates/TemplateTool_callViewInstallRepositoryBusinessTemplateListDialog</td>\n
\t<td></td>\n \t<td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
...@@ -158,7 +158,7 @@ ...@@ -158,7 +158,7 @@
</tr>\n </tr>\n
<tr>\n <tr>\n
\t<td>open</td>\n \t<td>open</td>\n
\t<td>/erp5/portal_templates/TemplateTool_callViewInstallRepositoryBusinessTemplateListDialog</td>\n \t<td>${base_url}/portal_templates/TemplateTool_callViewInstallRepositoryBusinessTemplateListDialog</td>\n
\t<td></td>\n \t<td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
...@@ -193,7 +193,7 @@ ...@@ -193,7 +193,7 @@
</tr>\n </tr>\n
<tr>\n <tr>\n
\t<td>open</td>\n \t<td>open</td>\n
\t<td>/erp5/portal_templates/TemplateTool_callViewInstallRepositoryBusinessTemplateListDialog</td>\n \t<td>${base_url}/portal_templates/TemplateTool_callViewInstallRepositoryBusinessTemplateListDialog</td>\n
\t<td></td>\n \t<td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
......
...@@ -62,7 +62,7 @@ ...@@ -62,7 +62,7 @@
<tal:block metal:use-macro="here/ListBoxZuite_CommonTemplate/macros/init" />\n <tal:block metal:use-macro="here/ListBoxZuite_CommonTemplate/macros/init" />\n
<tr>\n <tr>\n
\t<td>open</td>\n \t<td>open</td>\n
\t<td>/erp5/foo_module/FooModule_createObjects?num:int=1</td>\n \t<td>${base_url}/foo_module/FooModule_createObjects?num:int=1</td>\n
\t<td></td>\n \t<td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
...@@ -72,7 +72,7 @@ ...@@ -72,7 +72,7 @@
</tr>\n </tr>\n
<tr>\n <tr>\n
\t<td>open</td>\n \t<td>open</td>\n
\t<td>/erp5/foo_module/ListBoxZuite_waitForActivities</td>\n \t<td>${base_url}/foo_module/ListBoxZuite_waitForActivities</td>\n
\t<td></td>\n \t<td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
...@@ -82,7 +82,7 @@ ...@@ -82,7 +82,7 @@
</tr>\n </tr>\n
<tr>\n <tr>\n
\t<td>open</td>\n \t<td>open</td>\n
\t<td>/erp5/foo_module/view</td>\n \t<td>${base_url}/foo_module/view</td>\n
\t<td></td>\n \t<td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
......
...@@ -57,9 +57,14 @@ ...@@ -57,9 +57,14 @@
<tal:block xmlns:tal="http://xml.zope.org/namespaces/tal"\n <tal:block xmlns:tal="http://xml.zope.org/namespaces/tal"\n
xmlns:metal="http://xml.zope.org/namespaces/metal">\n xmlns:metal="http://xml.zope.org/namespaces/metal">\n
<tal:block metal:define-macro="init">\n <tal:block metal:define-macro="init">\n
<tr>\n
<td>store</td>\n
<td tal:content="python: \'/\' + here.getPortalObject().getId()">erp5</td>\n
<td>base_url</td>\n
</tr>\n
<tr>\n <tr>\n
<td>open</td>\n <td>open</td>\n
<td>/erp5/foo_module/ListBoxZuite_reset</td>\n <td>${base_url}/foo_module/ListBoxZuite_reset</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
...@@ -69,7 +74,7 @@ ...@@ -69,7 +74,7 @@
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>open</td>\n <td>open</td>\n
<td>/erp5/foo_module/ListBoxZuite_waitForActivities</td>\n <td>${base_url}/foo_module/ListBoxZuite_waitForActivities</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
...@@ -79,7 +84,7 @@ ...@@ -79,7 +84,7 @@
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>open</td>\n <td>open</td>\n
<td>/erp5/foo_module/view</td>\n <td>${base_url}/foo_module/view</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
......
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