[FIX] event : wrong footer href in email templates
The href was not correctly build as there was no evaluation of object.company_id.website. Eval have been added.
This commit is contained in:
@@ -208,7 +208,7 @@
|
||||
<tr><td align="center" style="min-width: 590px;">
|
||||
<table width="590" border="0" cellpadding="0" cellspacing="0" style="min-width: 590px; background-color: #F1F1F1; color: #454748; padding: 8px; border-collapse:separate;">
|
||||
<tr><td style="text-align: center; font-size: 14px;">
|
||||
Sent by <a target="_blank" href="object.company_id.website" style="color: #875A7B;">${object.company_id.name}</a>
|
||||
Sent by <a target="_blank" href="${object.company_id.website}" style="color: #875A7B;">${object.company_id.name}</a>
|
||||
% if 'website_url' in object.event_id and object.event_id.website_url:
|
||||
<br />
|
||||
Discover <a href="/event" style="text-decoration:none;color:#717188;">all our events</a>.
|
||||
@@ -402,7 +402,7 @@
|
||||
<tr><td align="center" style="min-width: 590px;">
|
||||
<table width="590" border="0" cellpadding="0" cellspacing="0" style="min-width: 590px; background-color: #F1F1F1; color: #454748; padding: 8px; border-collapse:separate;">
|
||||
<tr><td style="text-align: center; font-size: 14px;">
|
||||
Sent by <a target="_blank" href="object.company_id.website" style="color: #875A7B;">${object.company_id.name}</a>
|
||||
Sent by <a target="_blank" href="${object.company_id.website}" style="color: #875A7B;">${object.company_id.name}</a>
|
||||
% if 'website_url' in object.event_id and object.event_id.website_url:
|
||||
<br />
|
||||
Discover <a href="/event" style="text-decoration:none;color:#717188;">all our events</a>.
|
||||
|
||||
Reference in New Issue
Block a user