Commit 384fa7e3 authored by Bartek Górny's avatar Bartek Górny

Use a kosher method to get portal's url.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@16908 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 2339e071
......@@ -82,7 +82,7 @@
have id "2". This is probably a bit too stupid. -->\n
<tr>\n
<td>assertLocation</td>\n
<td tal:content="python: \'/%s/foo_module/2/view\' % here.getPortalObject().getId()"/>\n
<td tal:content="python: \'%s/foo_module/2/view\' % here.getPortalObject().absolute_url_path()"/>\n
<td></td>\n
</tr>\n
<tr>\n
......@@ -103,7 +103,7 @@ have id "2". This is probably a bit too stupid. -->\n
</tr>\n
<tr>\n
<td>assertLocation</td>\n
<td tal:content="python: \'/%s/foo_module/2/1/view\' % here.getPortalObject().getId()"/>\n
<td tal:content="python: \'%s/foo_module/2/1/view\' % here.getPortalObject().absolute_url_path()"/>\n
<td></td>\n
</tr>\n
<tr>\n
......@@ -131,7 +131,7 @@ have id "2". This is probably a bit too stupid. -->\n
</tr>\n
<tr>\n
<td>assertLocation</td>\n
<td tal:content="python: \'/%s/foo_module/3/view\' % here.getPortalObject().getId()"/>\n
<td tal:content="python: \'%s/foo_module/3/view\' % here.getPortalObject().absolute_url_path()"/>\n
<td></td>\n
</tr>\n
<tr>\n
......@@ -153,7 +153,7 @@ another object of the same type. -->\n
</tr>\n
<tr>\n
<td>assertLocation</td>\n
<td tal:content="python: \'/%s/foo_module/4/view\' % here.getPortalObject().getId()"/>\n
<td tal:content="python: \'%s/foo_module/4/view\' % here.getPortalObject().absolute_url_path()"/>\n
<td></td>\n
</tr>\n
<tr>\n
......@@ -168,7 +168,8 @@ another object of the same type. -->\n
</tr>\n
\n
</body>\n
</html>
</html>\n
]]></string> </value>
</item>
......
226
\ No newline at end of file
225
\ 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