Commit 0378f6a3 authored by Lucas Carvalho's avatar Lucas Carvalho

the resource must be shown using 'Resource_viewAsShop' instead of 'view'

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28742 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 50fc54af
......@@ -69,7 +69,7 @@
order_line_id python: order_line.getId();">\n
<td>\n
<div tal:attributes="class python: bool(confirm_mode) and \' \' or \'shopping_cart_renderer_title\'">\n
<a href="" tal:attributes="href resource/absolute_url">\n
<a href="" tal:attributes="href python: \'%s/%s\' % (resource.absolute_url(), \'Resource_viewAsShop\');">\n
<span tal:replace="resource/getTitle"/> \n
</a>\n
</div>\n
......
......@@ -57,7 +57,7 @@
\n
<div class="cart_left cart_item_name">\n
<span><span tal:replace="quantity"/> x </span>\n
<a class="articlelink" href="" tal:attributes="href resource/absolute_url">\n
<a class="articlelink" href="" tal:attributes="href python: \'%s/%s\' % (resource.absolute_url(), \'Resource_viewAsShop\');">\n
<span tal:content="resource/getTitle"/>\n
</a>\n
</div>\n
......
176
\ No newline at end of file
180
\ 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