summaryrefslogtreecommitdiff
path: root/addons
diff options
context:
space:
mode:
authorElisabeth Dickinson <edi@odoo.com>2020-09-11 07:37:45 +0000
committerDavid Beguin <dbe@odoo.com>2020-09-11 12:59:46 +0000
commitcac05ed6535e1897a8f9a3a8c7536e31361f5eba (patch)
tree79b23e08ac59cf17db455f3449fa27c527a6e819 /addons
parent9106ff0e8c63accf54db2dd6ddfaf62479ded784 (diff)
[FIX] website_event_track_exhibitor: fix design issues with exhibitors logos
This commit fixes 2 design issues regarding the Exhibitors logo in - Rounded-circle on logos crops and can hide some part of the partner's logo: - Remove rounded-circle property - Bg-light behind non-transparent bg logos: - Remove to have all logos on white background. Task ID: 2337738 closes odoo/odoo#57532 X-original-commit: b56a4f27bc35108bbf4240714f994f670e91ae69 Signed-off-by: awa-odoo <awa-odoo@users.noreply.github.com> Signed-off-by: David Beguin <dbeguin@users.noreply.github.com>
Diffstat (limited to 'addons')
-rw-r--r--addons/website_event_track_exhibitor/views/event_exhibitor_templates_list.xml2
-rw-r--r--addons/website_event_track_exhibitor/views/event_exhibitor_templates_page.xml4
2 files changed, 3 insertions, 3 deletions
diff --git a/addons/website_event_track_exhibitor/views/event_exhibitor_templates_list.xml b/addons/website_event_track_exhibitor/views/event_exhibitor_templates_list.xml
index 0f0dafc0488..5ce46bf2614 100644
--- a/addons/website_event_track_exhibitor/views/event_exhibitor_templates_list.xml
+++ b/addons/website_event_track_exhibitor/views/event_exhibitor_templates_list.xml
@@ -154,7 +154,7 @@
itemscope="itemscope" itemtype="http://schema.org/Event">
<div class="h-100 row no-gutters">
<t t-set="sponsor_image_url" t-value="sponsor.website_image_url"/>
- <header t-att-class="'overflow-hidden col-12 rounded-top position-static %s' % ('bg-secondary' if not sponsor_image_url else 'bg-light')">
+ <header t-att-class="'overflow-hidden col-12 rounded-top position-static %s' % ('bg-secondary' if not sponsor_image_url else '')">
<small t-if="not sponsor.is_published" class="o_wesponsor_card_header_badge bg-danger">
<i class="fa fa-ban mr-2"/>Unpublished
diff --git a/addons/website_event_track_exhibitor/views/event_exhibitor_templates_page.xml b/addons/website_event_track_exhibitor/views/event_exhibitor_templates_page.xml
index 9eaa9bab800..edacec5c43d 100644
--- a/addons/website_event_track_exhibitor/views/event_exhibitor_templates_page.xml
+++ b/addons/website_event_track_exhibitor/views/event_exhibitor_templates_page.xml
@@ -85,9 +85,9 @@
<div class="ml-3">
<div class="float-left pt-3">
<span t-if="sponsor.image_512" t-field="sponsor.image_512" class="o_wevent_online_page_avatar"
- t-options="{'widget': 'image', 'class': 'rounded-circle', 'max-width': '96'}"/>
+ t-options="{'widget': 'image', 'max-width': '96'}"/>
<span t-elif="sponsor.partner_id.image_512" t-field="sponsor.partner_id.image_512" class="o_wevent_online_page_avatar"
- t-options="{'widget': 'image', 'class': 'rounded-circle', 'max-width': '96'}"/>
+ t-options="{'widget': 'image', 'max-width': '96'}"/>
</div>
<div class="px-3 pt-3 d-flex flex-row justify-content-between position-relative">
<div class="d-flex flex-column">