Merge pull request #2348 from odoo-dev/8.0-fix-website_sale-breadcrumb-chm

[FIX] website_sale: The product breadcrumbs in shop not working.
This commit is contained in:
Christophe Matthieu 2014-09-15 13:24:24 +02:00
commit 9c0964ccad
1 changed files with 2 additions and 2 deletions

View File

@ -135,7 +135,7 @@
<div class="oe_structure"/>
<div class="container oe_website_sale">
<div class="products_pager">
<div class="row">
<div class="row" style="width: 100%;">
<t t-call="website_sale.search"><t t-set="search_class">pagination form-inline col-md-3</t></t>
<t t-call="website.pager"/>
</div>
@ -354,7 +354,7 @@
<div class="col-sm-4">
<ol class="breadcrumb">
<li><a t-att-href="keep(category=0)" onclick="history.go(-1); return false;">Products</a></li>
<li t-if="category"><a t-att-href="keep()" t-field="category.name"/></li>
<li t-if="category"><a t-att-href="keep('/shop/category/%s' % slug(category), category=0)" t-field="category.name"/></li>
<li class="active"><span t-field="product.name"/></li>
</ol>
</div>