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 @@ ...@@ -69,7 +69,7 @@
order_line_id python: order_line.getId();">\n order_line_id python: order_line.getId();">\n
<td>\n <td>\n
<div tal:attributes="class python: bool(confirm_mode) and \' \' or \'shopping_cart_renderer_title\'">\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 <span tal:replace="resource/getTitle"/> \n
</a>\n </a>\n
</div>\n </div>\n
......
...@@ -57,7 +57,7 @@ ...@@ -57,7 +57,7 @@
\n \n
<div class="cart_left cart_item_name">\n <div class="cart_left cart_item_name">\n
<span><span tal:replace="quantity"/> x </span>\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 <span tal:content="resource/getTitle"/>\n
</a>\n </a>\n
</div>\n </div>\n
......
176 180
\ 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