From eee625bbb0bbb8a1cee5962f957ac1e0461da50a Mon Sep 17 00:00:00 2001 From: Romeo Fragomeli Date: Tue, 17 May 2022 10:22:12 +0000 Subject: [PATCH] [REF] *: BS5: Migrate btn-block Due to the removal of btn-block we need to change the display to grid > Dropped .btn-block for utilities. Instead of using .btn-block on the > .btn, wrap your buttons with .d-grid and a .gap-* utility to space > them as needed https://getbootstrap.com/docs/5.1/migration/#buttons Task ID: 2766483 Part-of: odoo/odoo#95450 --- .../account_payment/views/account_portal_templates.xml | 4 ++-- addons/auth_signup/views/auth_signup_login_templates.xml | 8 ++++---- addons/auth_totp/views/templates.xml | 4 ++-- addons/mail/static/src/xml/web_kanban_activity.xml | 4 ++-- addons/note/static/src/xml/systray.xml | 4 ++-- .../web_editor/static/src/js/backend/convert_inline.js | 2 +- addons/web_editor/static/tests/convert_inline_tests.js | 9 ++------- .../views/event_booth_registration_templates.xml | 4 ++-- .../static/src/xml/comparison.xml | 2 +- .../views/website_sale_comparison_template.xml | 2 +- .../views/website_slides_templates.xml | 2 +- .../views/website_slides_templates_course.xml | 8 ++++---- 12 files changed, 24 insertions(+), 29 deletions(-) diff --git a/addons/account_payment/views/account_portal_templates.xml b/addons/account_payment/views/account_portal_templates.xml index ed222c82aee..a48dff7333c 100644 --- a/addons/account_payment/views/account_portal_templates.xml +++ b/addons/account_payment/views/account_portal_templates.xml @@ -66,10 +66,10 @@ -
+
+ class="btn btn-primary mb-2" data-toggle="modal" data-target="#pay_with"> Pay Now
diff --git a/addons/auth_signup/views/auth_signup_login_templates.xml b/addons/auth_signup/views/auth_signup_login_templates.xml index 390982beccb..5c00f9e70f9 100644 --- a/addons/auth_signup/views/auth_signup_login_templates.xml +++ b/addons/auth_signup/views/auth_signup_login_templates.xml @@ -50,8 +50,8 @@

-