[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:
parent
7a0a649deb
commit
7cab554590
|
@ -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:
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue