From 2b18c1e114d3c67f418e81da8d69e056b75a62a3 Mon Sep 17 00:00:00 2001 From: qsm-odoo Date: Fri, 17 Aug 2018 15:35:42 +0200 Subject: [PATCH] [REF] website_sale(_*): review product item display * comparison There is a somewhat big difference between BS3 and BS4:
titles were the size as normal text and
were smaller while, now,
titles are a lot bigger (1.25x) than normal text and
are the same size as normal text. While both system may be consistent, we feel that standing for BS4 is the best approach. That way, the smallest (
) should be used for titles of items that are numerous in the page. This is the case for our shop listing, each product as its own title and before, we used
element. Using
for those feels semantically more consistent and goes with default BS4 style. Also review the product comparator popover. --- addons/website_sale/views/templates.xml | 12 ++++----- .../website_sale_comparison_template.xml | 26 ++++++++----------- 2 files changed, 16 insertions(+), 22 deletions(-) diff --git a/addons/website_sale/views/templates.xml b/addons/website_sale/views/templates.xml index acdd77faa96..5fae66ff3e4 100644 --- a/addons/website_sale/views/templates.xml +++ b/addons/website_sale/views/templates.xml @@ -107,12 +107,10 @@
-
- - - +
+ Unpublished -
+
@@ -534,11 +532,11 @@
-
+
-
+
diff --git a/addons/website_sale_comparison/views/website_sale_comparison_template.xml b/addons/website_sale_comparison/views/website_sale_comparison_template.xml index dab3096fb87..290798a87b7 100644 --- a/addons/website_sale_comparison/views/website_sale_comparison_template.xml +++ b/addons/website_sale_comparison/views/website_sale_comparison_template.xml @@ -121,24 +121,20 @@