[FIX] crm_iap_enrich: remove background color of mail messages

Removed background color of crm enrich mail messages, so that they look
good on both light and dark mode

Related task: 3541419

closes odoo/odoo#158475

X-original-commit: 26c7b2408c248b9e81ee3c383c8cf076bbc9c552
Signed-off-by: Louis Baudoux (lba) <lba@odoo.com>
Signed-off-by: Joris Makauskis (jmak) <jmak@odoo.com>
This commit is contained in:
Joris Makauskis
2024-03-21 11:11:40 +00:00
parent 3a910816ed
commit de2eb24163
2 changed files with 7 additions and 7 deletions
@@ -3,14 +3,14 @@
<!-- VIEWS USED FOR MESSAGING -->
<template id="mail_message_lead_enrich_notfound">
<p>Lead Enrichment (based on email address)</p>
<div style="background-color:#ffffff;padding:15px;padding-left:0px;">
<div style="padding:15px;padding-left:0px;">
<span> No company data found based on the email address or email address is one of an email provider. No credit was consumed. </span>
</div>
</template>
<template id="mail_message_lead_enrich_no_email">
<p>Lead Enrichment (based on email address)</p>
<div style="background-color:#ffffff;padding:15px;padding-left:0px;">
<div style="padding:15px;padding-left:0px;">
<span>Enrichment could not be done because the email address does not look valid.</span>
</div>
</template>
+5 -5
View File
@@ -3,7 +3,7 @@
<template id="enrich_company">
<p t-esc="flavor_text" />
<div class="o_partner_autocomplete_enrich_info bg-white p-3 mt-3 mb-3 me-5">
<div class="o_partner_autocomplete_enrich_info p-3 mt-3 mb-3 me-5">
<div class="row p-0 m-0">
<div class="col-sm-10 p-0">
<h4>
@@ -51,7 +51,7 @@
</div>
<div t-if="sectors" class="my-1 col-sm-9">
<t t-foreach="sectors" t-as="inner_sector">
<label t-esc="inner_sector" style="font-weight:normal; padding: 2px 10px; background-color: #eeeeee; margin: 1px 0px; border-radius: 13px; display: inline-block;"/>
<label t-esc="inner_sector" class="o_tag o_tag_color_7" style="font-weight:normal; padding: 2px 10px; margin: 1px 0px; border-radius: 13px; display: inline-block;"/>
</t>
</div>
<div t-if="employees" class="d-flex my-1 p-0 col-sm-3">
@@ -72,7 +72,7 @@
</div>
<div t-if="phone_numbers" class="col-sm-9">
<t t-foreach="phone_numbers" t-as="phone_number">
<a t-attf-href="tel:{{phone_number}}" t-esc="phone_number" style="font-weight:normal; padding: 2px 10px; background-color: #eeeeee; margin: 1px 0px; border-radius: 13px; display: inline-block;"/>
<a t-attf-href="tel:{{phone_number}}" t-esc="phone_number" class="o_tag o_tag_color_7" style="font-weight:normal; padding: 2px 10px; margin: 1px 0px; border-radius: 13px; display: inline-block;"/>
</t>
</div>
<div t-if="email" class="d-flex my-1 p-0 col-sm-3">
@@ -81,7 +81,7 @@
</div>
<div t-if="email" class="col-sm-9">
<t t-foreach="email" t-as="email_item">
<a target="_top" t-attf-href="mailto:{{email_item}}" t-esc="email_item" style="font-weight:normal; padding: 2px 10px; background-color: #eeeeee; margin: 1px 0px; border-radius: 13px; display: inline-block;"/>
<a target="_top" t-attf-href="mailto:{{email_item}}" t-esc="email_item" class="o_tag o_tag_color_7" style="font-weight:normal; padding: 2px 10px; margin: 1px 0px; border-radius: 13px; display: inline-block;"/>
</t>
</div>
<div t-if="timezone" class="d-flex my-1 p-0 col-sm-3">
@@ -95,7 +95,7 @@
</div>
<div t-if="tech" class="my-1 col-sm-9">
<t t-foreach="tech" t-as="tech_item">
<label t-esc="tech_item.replace('_', ' ').title()" style="font-weight:normal; padding: 2px 10px; background-color: #eeeeee; margin: 1px 0px; border-radius: 13px; display: inline-block;"/>
<label t-esc="tech_item.replace('_', ' ').title()" class="o_tag o_tag_color_7" style="font-weight:normal; padding: 2px 10px; margin: 1px 0px; border-radius: 13px; display: inline-block;"/>
</t>
</div>
<div t-if="twitter_bio" class="d-flex my-1 p-0 col-sm-3">