[IMP] crm_reveal: improved additional informations template

This commit is contained in:
TWA
2018-09-27 10:45:30 +02:00
committed by Rémi Rahir
parent 9adbd587d3
commit 03cd389024
3 changed files with 9 additions and 9 deletions
@@ -60,9 +60,9 @@
</div>
<div class="o_setting_right_pane crm_reveal_settings">
<label for="module_crm_reveal"/>
<label string="Website Lead Generation" for="module_crm_reveal"/>
<div class="text-muted">
Use information about about your website's visitors to boost your sales. Charge your IAP account to use this service.
Convert visitors of your website into leads in the CRM. Wre do data enrichment based on their IP address.
</div>
</div>
</div>
+6 -6
View File
@@ -17,16 +17,16 @@
<b><t t-esc="name"/></b>
</span>
<span style="">
<a t-if="twitter" style="margin: 0 0 0 8px;" target="blank" t-attf-href="http://www.twitter.com/{{twitter}}">
<a t-if="twitter" style="margin: 0 0 0 8px;" target="_blank" t-attf-href="http://www.twitter.com/{{twitter}}">
<img src="/web_editor/font_to_img/61569/rgb(0,132,180)/22"/>
</a>
<a t-if="facebook" style="margin: 0 0 0 8px;" target="blank" t-attf-href="http://www.facebook.com/{{facebook}}">
<a t-if="facebook" style="margin: 0 0 0 8px;" target="_blank" t-attf-href="http://www.facebook.com/{{facebook}}">
<img src="/web_editor/font_to_img/61570/rgb(59,89,152)/22"/>
</a>
<a t-if="linkedin" style="margin: 0 0 0 8px;" target="blank" t-attf-href="https://www.linkedin.com/{{linkedin}}">
<a t-if="linkedin" style="margin: 0 0 0 8px;" target="_blank" t-attf-href="https://www.linkedin.com/{{linkedin}}">
<img src="/web_editor/font_to_img/61580/rgb(0,119,181)/22"/>
</a>
<a t-if="crunchbase" style="margin: 0 0 0 8px;" target="blank" t-attf-href="https://www.crunchbase.com/{{crunchbase}}">
<a t-if="crunchbase" style="margin: 0 0 0 8px;" target="_blank" t-attf-href="https://www.crunchbase.com/{{crunchbase}}">
<img width="18px" height="18px" src="/crm_reveal/static/img/crunchbase.ico"/>
</a>
</span>
@@ -43,7 +43,7 @@
<b>Timezone : </b>
<span><t t-esc="timezone"/></span>
<span>
<a target="blank" t-attf-href="https://www.timeanddate.com/worldclock/{{timezone_link}}">(Time Now)</a>
<a target="_blank" t-att-href="timezone_url">(Time Now)</a>
</span>
</td>
</tr>
@@ -53,7 +53,7 @@
<b>Phone :</b>
<t t-foreach="phone_numbers" t-as="phone_number">
<span style="margin:0 5px;">
<a target="blank" t-attf-href="tel:{{phone_number}}"><t t-esc="phone_number"/></a>
<a target="_blank" t-attf-href="tel:{{phone_number}}"><t t-esc="phone_number"/></a>
</span>
</t>
</td>
+1 -1
View File
@@ -463,7 +463,7 @@ class CRMRevealRule(models.Model):
if timezone:
log_data.update({
'timezone': timezone.replace('_', ' ').title(),
'timezone_link': timezone.lower().replace('_', '-'),
'timezone_url': reveal_data['timezone_url'],
})
return log_data