[FIX] website_sale,web_editor: fix website sale tour
This commit fixes some inconsistencies in the website_sale tour: - The step "Upload an image" is removed; - The tip position of the Product Name step is placed above the field rather than on the rightside to avoid a horizontal scrollbar. The "No product defined" text position is improved for empty searches. task-2700198 X-original-commit: d0600df28e6f646134529c6073c435bdd864bfa9) Part-of: odoo/odoo#87350
This commit is contained in:
@@ -19,7 +19,7 @@ odoo.define("website_sale.tour_shop", function (require) {
|
||||
}, {
|
||||
trigger: ".modal-dialog #editor_new_product input[type=text]",
|
||||
content: _t("Enter a name for your new product"),
|
||||
position: "right",
|
||||
position: "left",
|
||||
}, {
|
||||
trigger: ".modal-footer button.btn-primary.btn-continue",
|
||||
content: Markup(_t("Click on <em>Continue</em> to create the product.")),
|
||||
@@ -45,6 +45,7 @@ odoo.define("website_sale.tour_shop", function (require) {
|
||||
run: function (actions) {
|
||||
actions.auto(".modal-footer .btn-secondary");
|
||||
},
|
||||
auto: true,
|
||||
}, {
|
||||
trigger: "button.o_we_add_snippet_btn",
|
||||
auto: true,
|
||||
|
||||
@@ -319,7 +319,7 @@
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div t-else="" class="text-center text-muted">
|
||||
<div t-else="" class="text-center text-muted mt128 mb256">
|
||||
<t t-if="not search">
|
||||
<h3 class="mt8">No product defined</h3>
|
||||
<p t-if="category">No product defined in category "<strong t-esc="category.display_name"/>".</p>
|
||||
|
||||
Reference in New Issue
Block a user