diff options
| author | Christophe Matthieu <chm@openerp.com> | 2013-08-08 16:42:47 +0200 |
|---|---|---|
| committer | Christophe Matthieu <chm@openerp.com> | 2013-08-08 16:42:47 +0200 |
| commit | fbb2d16c6116154eeb46bb38bedcda2fe48ae97e (patch) | |
| tree | bd1daa5a6e3b4ec183ba0d8a0ce3637ef2c6a0e7 /addons | |
| parent | 62ed1ca0bb66d789a322b5039b1c68a2a88e0d78 (diff) | |
[IMP] website_sale: add number of products in my cart top menu link
bzr revid: chm@openerp.com-20130808144247-pi2p5d00h3eke4cl
Diffstat (limited to 'addons')
| -rw-r--r-- | addons/website_sale/views/ecommerce.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/website_sale/views/ecommerce.xml b/addons/website_sale/views/ecommerce.xml index 4789862b0b4..7124b603646 100644 --- a/addons/website_sale/views/ecommerce.xml +++ b/addons/website_sale/views/ecommerce.xml @@ -22,7 +22,7 @@ <field name="arch" type="xml"> <data> <xpath expr="(//li)[last()]" position="after"> - <li class="pull-right"><a href="/shop/mycart/"><i class="icon-shopping-cart icon-large" style="position: absolute;"></i>&nbsp; &nbsp; &nbsp; My cart</a></li> + <li class="pull-right"><a href="/shop/mycart/"><i class="icon-shopping-cart icon-large" style="position: absolute;"></i>&nbsp; &nbsp; &nbsp; My cart <span class="badge badge-success" t-if="order.order_line" t-esc="int(sum([l.product_uom_qty for l in order.order_line]))"/></a></li> <li class="pull-right"><a href="/shop/">Shop</a></li> </xpath> </data> |
