summaryrefslogtreecommitdiff
path: root/addons/digest/data/digest_data.xml
diff options
context:
space:
mode:
authorThibault Delavallée <tde@odoo.com>2020-09-25 09:11:36 +0000
committerThibault Delavallée <tde@odoo.com>2020-09-25 09:27:16 +0000
commitfd838a3d87f5bd326921dd15c2a41c3d1d3dd131 (patch)
tree4357fb44f917c5d5bdf8dc2b9011b48b16cc0cd9 /addons/digest/data/digest_data.xml
parent406795fbee7be60c3346fa00a20755bfc1c8eff3 (diff)
[FIX] digest: fix layout issues
This commit fixes several issues * there are still some jinja references although the template is now done in QWeb; * put preferences content inside the same paragraph to avoid unnecessary blank spaces; * fix hardcoded company name (olé); Followup of fd8709515cac4f913c5ccee57009355dc58bca81 Task ID-2338930 closes odoo/odoo#58474 Related: odoo/enterprise#13545 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
Diffstat (limited to 'addons/digest/data/digest_data.xml')
-rw-r--r--addons/digest/data/digest_data.xml5
1 files changed, 3 insertions, 2 deletions
diff --git a/addons/digest/data/digest_data.xml b/addons/digest/data/digest_data.xml
index a697d17b43d..5acfbe7ec8a 100644
--- a/addons/digest/data/digest_data.xml
+++ b/addons/digest/data/digest_data.xml
@@ -375,7 +375,8 @@
<t t-raw="preference"/>
</div>
<div class="by_odoo">
- Sent by <a href="https://www.odoo.com" target="_blank" class="odoo_link"><span class="odoo_link_text">Odoo</span></a> – <a href="/web#view_type=form&amp;model=digest.digest&amp;id=${object.id}" target="_blank" style="text-decoration: none;"><span style="color: #8f8f8f;">Unsubscribe</span></a>
+ Sent by <a href="https://www.odoo.com" target="_blank" class="odoo_link"><span class="odoo_link_text">Odoo</span></a> –
+ <a t-att-href="'/web#view_type=form&amp;model=digest.digest&amp;id=%s' % object.id" target="_blank" style="text-decoration: none;"><span style="color: #8f8f8f;">Unsubscribe</span></a>
</div>
</div>
</div>
@@ -385,7 +386,7 @@
<div t-if="display_mobile_banner" t-call="digest.digest_section_mobile" />
<div class="global_layout" id="footer">
- <p style="font-weight: bold;">My Company (San Francisco)</p>
+ <p style="font-weight: bold;" t-esc="company.name"/>
<p class="by_odoo" id="powered">
Powered by <a href="https://www.odoo.com" target="_blank" class="odoo_link"><span class="odoo_link_text">Odoo</span></a>
</p>