From 4ca401a8556448d0ec1cf0e5e0f04de5fd602a1e Mon Sep 17 00:00:00 2001
From: qsm-odoo
Date: Tue, 21 Jan 2020 16:35:54 +0000
Subject: [PATCH] [REM] website, *: remove s_btn snippet
* website_slides
Part of https://github.com/odoo/odoo/pull/42937
task-2088157
---
addons/website/__manifest__.py | 4 ++-
.../src/img/snippets_thumbs/s_button.png | Bin 816 -> 0 bytes
addons/website/views/snippets/s_btn.xml | 6 ----
.../views/snippets/s_call_to_action.xml | 12 ++++----
addons/website/views/snippets/s_carousel.xml | 8 ++---
.../website/views/snippets/s_image_text.xml | 4 +--
addons/website/views/snippets/s_popup.xml | 4 +--
.../website/views/snippets/s_text_image.xml | 4 +--
addons/website/views/snippets/snippets.xml | 9 +++---
.../website_slides/data/slide_slide_demo.xml | 28 ++++++++----------
10 files changed, 33 insertions(+), 46 deletions(-)
delete mode 100755 addons/website/static/src/img/snippets_thumbs/s_button.png
diff --git a/addons/website/__manifest__.py b/addons/website/__manifest__.py
index 6f4ec0e5bd3..b243743c6c7 100644
--- a/addons/website/__manifest__.py
+++ b/addons/website/__manifest__.py
@@ -41,7 +41,6 @@
'views/snippets/s_card.xml',
'views/snippets/s_share.xml',
'views/snippets/s_rating.xml',
- 'views/snippets/s_btn.xml',
'views/snippets/s_hr.xml',
'views/snippets/s_facebook_page.xml',
'views/snippets/s_image_gallery.xml',
@@ -69,6 +68,9 @@
'views/res_partner_views.xml',
'wizard/base_language_install_views.xml',
'wizard/website_robots.xml',
+
+ # Old snippets
+ 'views/snippets/s_btn.xml',
],
'demo': [
'data/website_demo.xml',
diff --git a/addons/website/static/src/img/snippets_thumbs/s_button.png b/addons/website/static/src/img/snippets_thumbs/s_button.png
deleted file mode 100755
index 3fb1b920a9b07862bf5bfe6796fcab7a500feab2..0000000000000000000000000000000000000000
GIT binary patch
literal 0
HcmV?d00001
literal 816
zcmeAS@N?(olHy`uVBq!ia0vp^DL@>+!2~1|vfXz8DajJoh?3y^w370~qErUQl>DSr
z1<%~X^wgl##FWaylc_cg3{00iT^vIyZoRp^(OWuDhW*2`BW8x8`p#>vE5&j7cJo>4
z)qUsm%X0Rw4ym-ngqAg^>f|Nw?cM$T-rn)z*euD_XcFX82yJ1UGDJ6v^=1iK?t6vUuRmLp0K=EQ~w
zC{swF8_1ky-u-`-Y?xX1>Dke85tT(>4nE2Fa^G#5`I24H9G546R4l*WR7GZi?Ml`0eg;9wk51ZEaTTIyH|uUhz*)OExcA!=(|SekH_xXPUvC<&y+0Q{BGy=PvL`
zEdO@1gXLLQ=oIcxOY_@0Jfpbg(nL}|a-Gi&CFE!+ElKAB;n^m~KN8{bX+3fUX#7dFk6
zw%@~>DqSQNvBXdM=e85?Czk)NZeIUfZDQ)nuS^B1e)_XY5-qEHQ}(U?C;RkmyX*NH
z^SzaZXZwTd4hjRKJ?SMAx4g@}h)Qwpk00l+@o@&F7GS#IgeIILO1RU|n*aO$2qiH5
Yo*p%UW4&nxFbgnvy85}Sb4q9e03^(J{r~^~
diff --git a/addons/website/views/snippets/s_btn.xml b/addons/website/views/snippets/s_btn.xml
index 45354007321..23b7a902c35 100644
--- a/addons/website/views/snippets/s_btn.xml
+++ b/addons/website/views/snippets/s_btn.xml
@@ -1,12 +1,6 @@
-
-
-
-
diff --git a/addons/website/views/snippets/s_call_to_action.xml b/addons/website/views/snippets/s_call_to_action.xml
index 956e878fd20..756a5d3f90c 100644
--- a/addons/website/views/snippets/s_call_to_action.xml
+++ b/addons/website/views/snippets/s_call_to_action.xml
@@ -9,11 +9,13 @@
50,000+ companies run Odoo to grow their businesses.
Join us and make your company a better place.
-
diff --git a/addons/website/views/snippets/s_carousel.xml b/addons/website/views/snippets/s_carousel.xml
index b02ae93f63c..27c54a3a873 100644
--- a/addons/website/views/snippets/s_carousel.xml
+++ b/addons/website/views/snippets/s_carousel.xml
@@ -21,10 +21,10 @@
Slide Title
Use this snippet to presents your content in a slideshow-like format.
Don't write about products or services here, write about solutions.
-
+
@@ -39,9 +39,7 @@
Storytelling is powerful.
It draws readers in and engages them.
-
+ Start your journey
diff --git a/addons/website/views/snippets/s_image_text.xml b/addons/website/views/snippets/s_image_text.xml
index 858620c2851..dcfd160a1e8 100644
--- a/addons/website/views/snippets/s_image_text.xml
+++ b/addons/website/views/snippets/s_image_text.xml
@@ -12,9 +12,7 @@
Section Subtitle
Write one or two paragraphs describing your product or services.
To be successful your content needs to be useful to your readers.
Start with the customer – find out what they want and give it to them.
-
+ Discover more
diff --git a/addons/website/views/snippets/s_popup.xml b/addons/website/views/snippets/s_popup.xml
index 303487ad79b..08cc1046b92 100644
--- a/addons/website/views/snippets/s_popup.xml
+++ b/addons/website/views/snippets/s_popup.xml
@@ -20,9 +20,7 @@
Order now, and get 20$ discount on your first order with the coupon:
-
-
-
+
diff --git a/addons/website/views/snippets/s_text_image.xml b/addons/website/views/snippets/s_text_image.xml
index 39049973654..c6cfaba768b 100644
--- a/addons/website/views/snippets/s_text_image.xml
+++ b/addons/website/views/snippets/s_text_image.xml
@@ -9,9 +9,7 @@
A Section Subtitle
Write one or two paragraphs describing your product or services.
To be successful your content needs to be useful to your readers.
Start with the customer – find out what they want and give it to them.
-
+ Learn more

diff --git a/addons/website/views/snippets/snippets.xml b/addons/website/views/snippets/snippets.xml
index f09607e2318..b3de737207f 100644
--- a/addons/website/views/snippets/snippets.xml
+++ b/addons/website/views/snippets/snippets.xml
@@ -67,7 +67,6 @@
Inner content
-
@@ -138,8 +137,8 @@
data-color-prefix="bg-"/>
-
-
+
+
Left
Center
@@ -293,7 +292,7 @@
-
blockquote, .s_btn, .s_card, .s_alert, .o_facebook_page, .s_share, .s_rating, .s_hr, .s_countdown, .s_chart
+
blockquote, .s_card, .s_alert, .o_facebook_page, .s_share, .s_rating, .s_hr, .s_countdown, .s_chart
Write one or two paragraphs describing your product, services or a specific feature.
To be successful your content needs to be useful to your readers.
-
-
@@ -253,9 +253,7 @@
Section Subtitle
Write one or two paragraphs describing your product or services.
To be successful your content needs to be useful to your readers.
Start with the customer – find out what they want and give it to them.
-
+ Discover more
@@ -472,10 +470,10 @@
Write one or two paragraphs describing your product, services or a specific feature.
To be successful your content needs to be useful to your readers.
-
-
@@ -490,9 +488,9 @@
Section Subtitle
Write one or two paragraphs describing your product or services.
To be successful your content needs to be useful to your readers.
Start with the customer – find out what they want and give it to them.
-
+
+ Discover more
+
@@ -713,4 +711,4 @@
-
\ No newline at end of file
+