summaryrefslogtreecommitdiff
path: root/addons/event/data/email_template_data.xml
diff options
context:
space:
mode:
authorThibault Delavallée <tde@openerp.com>2016-08-22 16:12:08 +0200
committerThibault Delavallée <tde@openerp.com>2016-08-30 15:54:55 +0200
commit97425bfe3f2b317595e7086aedf7b5689dc9d218 (patch)
tree37b883265d2b14a91783b6b9b157fbef2ee32a2d /addons/event/data/email_template_data.xml
parentb4a159d2614d64aae8570c49ee79121fdb30676c (diff)
[REF] various: make mako mail templates more xml compliant
As we will soon improve the sanitizer we will be able to sanitize email templates body. However this implies some cleaning in the templates to be sure mako is not considered as invalid html / xml and therefore removed from the template body.
Diffstat (limited to 'addons/event/data/email_template_data.xml')
-rw-r--r--addons/event/data/email_template_data.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/event/data/email_template_data.xml b/addons/event/data/email_template_data.xml
index aa49de0995c..cd675b35a69 100644
--- a/addons/event/data/email_template_data.xml
+++ b/addons/event/data/email_template_data.xml
@@ -29,9 +29,9 @@
<field name="reply_to">${object.event_id.reply_to|safe}</field>
<field name="subject">Your registration at ${object.event_id.name}</field>
<field name="body_html"><![CDATA[
+<div style="background:#F3F5F6;color:#515166;padding:25px 0px;font-family:Arial,Helvetica,sans-serif;font-size:14px;">
% set date_begin = format_tz(object.event_id.date_begin, tz='UTC', format='%Y%m%dT%H%M%SZ')
% set date_end = format_tz(object.event_id.date_end, tz='UTC', format='%Y%m%dT%H%M%SZ')
-<div style="background:#F3F5F6;color:#515166;padding:25px 0px;font-family:Arial,Helvetica,sans-serif;font-size:14px;">
<table style="width:600px;margin:5px auto;">
<tbody>
<tr>
@@ -157,9 +157,9 @@
<field name="reply_to">${object.event_id.reply_to|safe}</field>
<field name="subject">Reminder for ${object.event_id.name}</field>
<field name="body_html"><![CDATA[
+<div style="background:#F3F5F6;color:#515166;padding:25px 0px;font-family:Arial,Helvetica,sans-serif;font-size:14px;">
% set date_begin = format_tz(object.event_id.date_begin, tz='UTC', format='%Y%m%dT%H%M%SZ')
% set date_end = format_tz(object.event_id.date_end, tz='UTC', format='%Y%m%dT%H%M%SZ')
-<div style="background:#F3F5F6;color:#515166;padding:25px 0px;font-family:Arial,Helvetica,sans-serif;font-size:14px;">
<table style="width:600px;margin:5px auto;">
<tbody>
<tr>