popover: { fixed: true },
},
{
- snippet: 'carousel',
+ snippet: '#snippet_structure .oe_snippet:first',
placement: 'bottom',
title: _t("Drag & Drop a Banner"),
content: _t("Drag the Banner block and drop it in your page."),
},
{
waitFor: '.oe_overlay_options .oe_options:visible',
- element: '#wrap .carousel:first .carousel-caption',
+ element: '#wrap .carousel:first .carousel-caption > div',
placement: 'top',
- title: _("Customize banner's text"),
- content: _("Click in the text and start editing it."),
+ title: _t("Customize banner's text"),
+ content: _t("Click in the text and start editing it."),
popover: { next: _t("Continue") },
},
{
- element: '.oe_overlay_options .oe_options',
+ element: '.oe_overlay_options .oe_options:visible',
placement: 'left',
title: _t("Customize the banner"),
content: _t("Customize any block through this menu. Try to change the background of the banner."),
popover: { fixed: true },
},
{
- snippet: 'features',
+ snippet: '#snippet_structure .oe_snippet:eq(6)',
placement: 'bottom',
title: _t("Drag & Drop This Block"),
content: _t("Drag the <em>'Features'</em> block and drop it below the banner."),
},
{
waitFor: 'button[data-action=edit]:visible',
- title: _("Good Job!"),
- content: _("Well done, you created your homepage."),
+ title: _t("Good Job!"),
+ content: _t("Well done, you created your homepage."),
popover: { next: _t("Continue") },
},
{
if (!step.element) step.orphan = true;
if (step.snippet) {
- step.element = '#oe_snippets div.oe_snippet[data-snippet-id="'+step.snippet+'"] .oe_snippet_thumbnail';
+ step.element = '#oe_snippets '+step.snippet+' .oe_snippet_thumbnail';
}
}
},
{
title: 'add snippets',
- snippet: 'carousel',
+ snippet: '#snippet_structure .oe_snippet:first',
},
{
title: 'try to save',
</div>
<div data-snippet-option-id='content'
- data-selector="p, h1, h2, h3, blockquote, .well, .panel"
- data-selector-siblings="p, h1, h2, h3, blockquote, .well, .panel"
+ data-selector="blockquote, .well, .panel"
+ data-selector-siblings="blockquote, .well, .panel"
data-selector-children=".content">
</div>
</li>
</div>
- <div data-snippet-option-id='content'
- data-selector="p, h1, h2, h3, blockquote, .well, .panel"
- data-selector-siblings="p, h1, h2, h3, blockquote, .well, .panel"
- data-selector-children=".content">
- </div>
-
</template>
popover: { fixed: true },
},
{
- snippet: 'image-text',
+ snippet: '#snippet_structure .oe_snippet:eq(2)',
placement: 'bottom',
title: _t("Drag & Drop a Block"),
content: _t("Drag this block and drop it in your page."),
popover: { fixed: true },
},
{
- snippet: 'text-block',
+ snippet: '#snippet_structure .oe_snippet:eq(4)',
placement: 'bottom',
title: _t("Drag & Drop a block"),
content: _t("Drag this block and drop it below the image block."),
popover: { fixed: true },
},
{
- snippet: 'image-text',
+ snippet: '#snippet_structure .oe_snippet:eq(2)',
placement: 'bottom',
title: _t("Drag & Drop a block"),
content: _t("Drag the 'Image-Text' block and drop it in your page."),
popover: { fixed: true },
},
{
- snippet: 'text-block',
+ snippet: '#snippet_structure .oe_snippet:eq(4)',
placement: 'bottom',
title: _t("Drag & Drop a block"),
content: _t("Drag the 'Text Block' in your event page."),
popover: { fixed: true },
},
{
- snippet: 'big-picture',
+ snippet: '#snippet_structure .oe_snippet:eq(7)',
placement: 'bottom',
title: _t("Drag & Drop a block"),
content: _t("Drag the 'Big Picture' block and drop it in your page."),