diff options
| author | Jeremy Kersten <jke@odoo.com> | 2020-09-01 12:43:35 +0000 |
|---|---|---|
| committer | Jeremy Kersten <jke@odoo.com> | 2020-09-10 21:12:08 +0000 |
| commit | 347b5ab3cfb5ebcef7c074f4a65223df0e349f2a (patch) | |
| tree | 723a2bbf081cb5843218396451437f3460e7dd33 /addons/website/static/src | |
| parent | 20f8e8a954fe23f1ce454ff431acee606b76b7e7 (diff) | |
[IMP] website: remove welcome tips on homepage
Now we only support tour in edit mode already.
We win a click on onboarding., and after the install of a theme
It avoid to have 2 tips on the same page that can be confusing
Diffstat (limited to 'addons/website/static/src')
| -rw-r--r-- | addons/website/static/src/js/menu/edit.js | 6 | ||||
| -rw-r--r-- | addons/website/static/src/scss/website.editor.ui.scss | 13 | ||||
| -rw-r--r-- | addons/website/static/src/xml/website.editor.xml | 3 |
3 files changed, 1 insertions, 21 deletions
diff --git a/addons/website/static/src/js/menu/edit.js b/addons/website/static/src/js/menu/edit.js index dd7bfc3ddf2..e8b0b793c97 100644 --- a/addons/website/static/src/js/menu/edit.js +++ b/addons/website/static/src/js/menu/edit.js @@ -68,12 +68,6 @@ var EditPageMenu = websiteNavbarData.WebsiteNavbarActionWidget.extend({ $wrap.empty().append(this.$welcomeMessage); } - setTimeout(function () { - if ($('.o_tooltip.o_animated').length) { - $('.o_tooltip_container').addClass('show'); - } - }, 1000); // ugly hack to wait that tooltip is loaded - return def; }, diff --git a/addons/website/static/src/scss/website.editor.ui.scss b/addons/website/static/src/scss/website.editor.ui.scss index d004626b03b..5c6468cdc76 100644 --- a/addons/website/static/src/scss/website.editor.ui.scss +++ b/addons/website/static/src/scss/website.editor.ui.scss @@ -3,19 +3,6 @@ padding-top: 128px; padding-bottom: 128px; font-family: Roboto, $font-family-sans-serif; - - .o_tooltip_container { - transition: opacity 1s linear; - - > .o_tooltip { - @include o-position-absolute; - position: relative; - display: inline-block; - margin: 0 8px; - opacity: 1; - z-index: auto; - } - } } // INPUTS diff --git a/addons/website/static/src/xml/website.editor.xml b/addons/website/static/src/xml/website.editor.xml index 164786f2398..6b2ae2f36e4 100644 --- a/addons/website/static/src/xml/website.editor.xml +++ b/addons/website/static/src/xml/website.editor.xml @@ -2,8 +2,7 @@ <templates id="template" xml:space="preserve"> <div t-name="website.homepage_editor_welcome_message" class="container text-center o_homepage_editor_welcome_message"> <h2 class="mt0">Welcome to your <b>Homepage</b>!</h2> - <p class="lead d-none d-md-block">Let's start designing.</p> - <div class="o_tooltip_container d-none d-md-inline-flex fade">Follow all the <div class="o_tooltip bottom"/> signs to get your website ready in no time.</div> + <p class="lead d-none d-md-block">Click on <b>Edit</b> in the top right corner to start designing.</p> </div> <div t-name="website.leaving_current_page_edition"> <p>What do you want to do?</p> |
