[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 X-original-commit: 347b5ab3cfb5ebcef7c074f4a65223df0e349f2a
This commit is contained in:
@@ -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;
|
||||
},
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user