From a121fe663f8b9f0849d23d764eabaab9c2ece40b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thibault=20Delavall=C3=A9e?= Date: Wed, 25 Nov 2020 15:13:35 +0000 Subject: [PATCH] [FIX] website_event_exhibitor: fix unpublished badge on exhibitor cards SPECIFICATIONS It is currently displayed at the bottom of the card with some strange opacity leading to badge not being readable at all. It is now put under image like unpublished events in /events page. It is also made readable. LINKS Task ID-2326433 COM PR odoo/odoo#61781 ENT pr odoo/enterprise#14752 UPG PR odoo/upgrade#1931 --- .../src/scss/event_exhibitor_templates.scss | 2 +- .../views/event_exhibitor_templates_list.xml | 20 ++++++++++--------- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/addons/website_event_exhibitor/static/src/scss/event_exhibitor_templates.scss b/addons/website_event_exhibitor/static/src/scss/event_exhibitor_templates.scss index a03b1a5cdc4..86836d3b0c9 100644 --- a/addons/website_event_exhibitor/static/src/scss/event_exhibitor_templates.scss +++ b/addons/website_event_exhibitor/static/src/scss/event_exhibitor_templates.scss @@ -27,7 +27,7 @@ position: absolute; bottom: 0; width: 100%; - padding: $card-spacer-y $card-spacer-x; + padding: 0.25rem 1.25rem; text-align: right; } &.o_wesponsor_card_unpublished { diff --git a/addons/website_event_exhibitor/views/event_exhibitor_templates_list.xml b/addons/website_event_exhibitor/views/event_exhibitor_templates_list.xml index e67053af25b..ea4d27db9dc 100644 --- a/addons/website_event_exhibitor/views/event_exhibitor_templates_list.xml +++ b/addons/website_event_exhibitor/views/event_exhibitor_templates_list.xml @@ -154,13 +154,9 @@ itemscope="itemscope" itemtype="http://schema.org/Event">
-
- - - Unpublished - - -
-
-
+
+