[IMP] Product Sale Views Cleanup
bzr revid: fp@openerp.com-20130927054910-lppoqz4hxmomckeg
This commit is contained in:
@@ -113,10 +113,10 @@
|
||||
|
||||
/* ---- Product list style ---- */
|
||||
.oe_list_products {
|
||||
border: 1px solid rgba(100, 100, 100, 0.2);
|
||||
max-width: 100%;
|
||||
max-height: 140px;
|
||||
position: relative;
|
||||
border: none;
|
||||
border-bottom: 1px solid rgba(100, 100, 100, 0.2);
|
||||
width: 100%;
|
||||
min-height: 140px;
|
||||
}
|
||||
.oe_list_products .oe_product_image {
|
||||
position: absolute;
|
||||
@@ -132,6 +132,7 @@
|
||||
left: 180px;
|
||||
right: 0;
|
||||
border-top: none;
|
||||
top: 15px;
|
||||
}
|
||||
|
||||
.oe_website_sale .row .row .col-md-12 {
|
||||
|
||||
@@ -107,10 +107,10 @@
|
||||
|
||||
/* ---- Product list style ---- */
|
||||
.oe_list_products
|
||||
border: 1px solid rgba(100, 100, 100, 0.2)
|
||||
max-width: 100%
|
||||
max-height: 140px
|
||||
position: relative
|
||||
border: none
|
||||
border-bottom: 1px solid rgba(100, 100, 100, 0.2)
|
||||
width: 100%
|
||||
min-height: 140px
|
||||
.oe_product_image
|
||||
position: absolute
|
||||
left: 15px
|
||||
@@ -124,6 +124,7 @@
|
||||
left: 180px
|
||||
right: 0
|
||||
border-top: none
|
||||
top: 15px
|
||||
|
||||
.oe_website_sale .row .row .col-md-12
|
||||
float: none
|
||||
|
||||
@@ -87,10 +87,6 @@
|
||||
<a t-href="/shop/product/#{ product.id }/?#{ search and ('search=%s' % search) or ''}#{ category_id and ('&category_id=%s' % category_id) or ''}">
|
||||
<b t-field="product.name"/>
|
||||
</a>
|
||||
<!-- This should be an option -->
|
||||
<div t-if="product.description_sale" class="text-muted oe_subdescription">
|
||||
<div id="product_description" t-att-data-name="product.id"/>
|
||||
</div>
|
||||
<div class="product_price">
|
||||
<b>
|
||||
<t t-if="product.product_variant_ids[0].lst_price != product.product_variant_ids[0].price">
|
||||
@@ -181,11 +177,11 @@
|
||||
|
||||
<!-- Product Description-->
|
||||
|
||||
<template id="product_description" inherit_option_id="website_sale.products" name="Product Description">
|
||||
<xpath expr="//div[@id='product_description']" position="replace">
|
||||
<small>
|
||||
<template id="product_description" inherit_option_id="website_sale.products_cart" name="Product Description">
|
||||
<xpath expr="//div[@class='product_price']" position="before">
|
||||
<p class="text-muted oe_subdescription">
|
||||
<span t-field="product.description_sale"/>
|
||||
</small>
|
||||
</p>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user