Skip to content
Snippets Groups Projects
Commit e67b0696 authored by Hugo Trentesaux's avatar Hugo Trentesaux
Browse files

pre-commit

parent 2ee08fbe
Loading
......@@ -18,16 +18,16 @@
id="out_of_stock_message"
t-attf-class="{{allow_out_of_stock_order ? 'text-success' : 'text-danger'}} fw-bold"
>
<t t-if='has_out_of_stock_message' t-out='out_of_stock_message'/>
<t t-if='has_out_of_stock_message' t-out='out_of_stock_message' />
<t t-elif="!allow_out_of_stock_order">
<div class="text-danger fw-bold">
<i class="fa fa-times me-1"/>
<i class="fa fa-times me-1" />
Out of Stock
</div>
</t>
</div>
<div t-if="!allow_out_of_stock_order">
<a href="/contactus"><i class="fa fa-envelope-o me-1"></i> Contact Us</a>
<a href="/contactus"><i class="fa fa-envelope-o me-1" /> Contact Us</a>
</div>
</xpath>
......@@ -39,8 +39,8 @@
t-elif="show_availability and free_qty lte available_threshold"
t-attf-class="availability_message_#{product_template} text-success fw-bold"
>
<t t-esc="formatQuantity(free_qty)"/>
<t t-esc="uom_name"/>
<t t-esc="formatQuantity(free_qty)" />
<t t-esc="uom_name" />
left in stock.
</div>
</xpath>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment