Skip to content

Commit 30d2f8c

Browse files
committed
[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#158487 X-original-commit: 26c7b24 Signed-off-by: Louis Baudoux (lba) <[email protected]> Signed-off-by: Joris Makauskis (jmak) <[email protected]>
1 parent fb73742 commit 30d2f8c

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

addons/crm_iap_enrich/data/mail_templates.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
33
<!-- VIEWS USED FOR MESSAGING -->
44
<template id="mail_message_lead_enrich_notfound">
55
<p>Lead Enrichment (based on email address)</p>
6-
<div style="background-color:#ffffff;padding:15px;padding-left:0px;">
6+
<div style="padding:15px;padding-left:0px;">
77
<span> No company data found based on the email address or email address is one of an email provider. No credit was consumed. </span>
88
</div>
99
</template>
1010

1111
<template id="mail_message_lead_enrich_no_email">
1212
<p>Lead Enrichment (based on email address)</p>
13-
<div style="background-color:#ffffff;padding:15px;padding-left:0px;">
13+
<div style="padding:15px;padding-left:0px;">
1414
<span>Enrichment could not be done because the email address does not look valid.</span>
1515
</div>
1616
</template>

addons/iap_mail/data/mail_templates.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
<template id="enrich_company">
55
<p t-esc="flavor_text" />
6-
<div class="o_partner_autocomplete_enrich_info bg-white p-3 mt-3 mb-3 me-5">
6+
<div class="o_partner_autocomplete_enrich_info p-3 mt-3 mb-3 me-5">
77
<div class="row p-0 m-0">
88
<div class="col-sm-10 p-0">
99
<h4>
@@ -51,7 +51,7 @@
5151
</div>
5252
<div t-if="sectors" class="my-1 col-sm-9">
5353
<t t-foreach="sectors" t-as="inner_sector">
54-
<label t-esc="inner_sector" style="font-weight:normal; padding: 2px 10px; background-color: #eeeeee; margin: 1px 0px; border-radius: 13px; display: inline-block;"/>
54+
<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;"/>
5555
</t>
5656
</div>
5757
<div t-if="employees" class="d-flex my-1 p-0 col-sm-3">
@@ -72,7 +72,7 @@
7272
</div>
7373
<div t-if="phone_numbers" class="col-sm-9">
7474
<t t-foreach="phone_numbers" t-as="phone_number">
75-
<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;"/>
75+
<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;"/>
7676
</t>
7777
</div>
7878
<div t-if="email" class="d-flex my-1 p-0 col-sm-3">
@@ -81,7 +81,7 @@
8181
</div>
8282
<div t-if="email" class="col-sm-9">
8383
<t t-foreach="email" t-as="email_item">
84-
<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;"/>
84+
<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;"/>
8585
</t>
8686
</div>
8787
<div t-if="timezone" class="d-flex my-1 p-0 col-sm-3">
@@ -95,7 +95,7 @@
9595
</div>
9696
<div t-if="tech" class="my-1 col-sm-9">
9797
<t t-foreach="tech" t-as="tech_item">
98-
<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;"/>
98+
<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;"/>
9999
</t>
100100
</div>
101101
<div t-if="twitter_bio" class="d-flex my-1 p-0 col-sm-3">

0 commit comments

Comments
 (0)