[FIX] portal_sale,website_quote: templates compatible with wysiwyg

<% are automatically escaped as soon as the wysiwyg tool
is used to edit the template.
The wysiwyg tool is not compatible with Jinja, and
it isn't expected to be.

To avoid to have this problem everytime when
editing the portal email templates, we use
a Jinja syntax compatible with the wysiwyg,
as a workaround.

opw-654223
This commit is contained in:
Denis Ledoux 2015-11-09 15:34:31 +01:00
parent 7a0a649deb
commit 7cab554590
2 changed files with 3 additions and 3 deletions

View File

@ -38,7 +38,7 @@
% endif
</p>
<% set signup_url = object.get_signup_url() %>
% set signup_url = object.get_signup_url()
% if signup_url:
<p>
You can access this document and pay online via our Customer Portal:
@ -125,7 +125,7 @@
% endif
</p>
<% set signup_url = object.get_signup_url() %>
% set signup_url = object.get_signup_url()
% if signup_url:
<p>
You can access the invoice document and pay online via our Customer Portal:

View File

@ -122,7 +122,7 @@
% endif
</p>
<% set signup_url = object.get_signup_url() %>
% set signup_url = object.get_signup_url()
% if signup_url:
<p>
You can access this document and pay online via our Customer Portal: