[FIX] sale,website: fix variant alert style
It should be warning instead of danger, and use appropriate BS4 classes. Without this commit, the resulting style might be wrong with some themes.
This commit is contained in:
@@ -37,7 +37,7 @@
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
<p class="css_not_available_msg bg-danger" style="padding: 15px;">This combination does not exist.</p>
|
||||
<p class="css_not_available_msg alert alert-warning">This combination does not exist.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -155,7 +155,7 @@
|
||||
"display_currency": to_currency
|
||||
}'/>
|
||||
<span class="js_raw_price d-none" t-esc="product.price" />
|
||||
<p class="css_not_available_msg bg-danger" style="padding: 5px;">Option not available</p>
|
||||
<p class="css_not_available_msg alert alert-warning">Option not available</p>
|
||||
|
||||
<input type="hidden" class="js_optional_same_quantity" t-attf-name="optional-add-#{product.id}" value="0"/>
|
||||
<a role="button" href="#" class="js_add"><i class="fa fa-shopping-cart add-optionnal-item"></i></a>
|
||||
|
||||
@@ -494,7 +494,7 @@
|
||||
</t>
|
||||
</t>
|
||||
<t t-call="website_sale.product_price" />
|
||||
<p t-if="product.has_dynamic_attributes() or len(product.product_variant_ids) > 1" class="css_not_available_msg bg-danger" style="padding: 15px;">This combination does not exist.</p>
|
||||
<p t-if="product.has_dynamic_attributes() or len(product.product_variant_ids) > 1" class="css_not_available_msg alert alert-warning">This combination does not exist.</p>
|
||||
<a role="button" id="add_to_cart" class="btn btn-primary btn-lg mt8 js_check_product a-submit" href="#">Add to Cart</a>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
Reference in New Issue
Block a user