diff options
| author | Patrick Hoste <pko@odoo.com> | 2019-07-18 14:21:35 +0000 |
|---|---|---|
| committer | Thibault Delavallée <tde@odoo.com> | 2019-07-19 08:31:20 +0000 |
| commit | 38b5a666c50d47a0efe060c031d68a2d70689dc6 (patch) | |
| tree | f7fbcce1fec49a8f225d61224cccc3c7b8b854c2 /addons/website_slides/data/mail_data.xml | |
| parent | cda93a5c19e564b00da4a3c97aceabbcb7059ed7 (diff) | |
[IMP] website_slides: add a share button on the fullscreen view
A share button has been added to the fullscreen view to avoid
exiting the view to access the share tab on the full description
of the slide.
Task ID : 1984509
closes odoo/odoo#33418
Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
Diffstat (limited to 'addons/website_slides/data/mail_data.xml')
| -rw-r--r-- | addons/website_slides/data/mail_data.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/website_slides/data/mail_data.xml b/addons/website_slides/data/mail_data.xml index 226e2111e33..e00ddd2f78b 100644 --- a/addons/website_slides/data/mail_data.xml +++ b/addons/website_slides/data/mail_data.xml @@ -38,12 +38,12 @@ Hello<br/><br/> ${ctx['user'].name} shared the ${object.slide_type} <strong>${object.name}</strong> with you! <div style="margin: 16px 8px 16px 8px; text-align: center;"> - <a href="${object.website_url}"> + <a href="${(object.website_url + '?fullscreen=1') if ctx['fullscreen'] else object.website_url | safe}"> <img alt="${object.name}" src="${ctx['base_url']}/web/image/slide.slide/${object.id}/image" style="height:auto; width:150px; margin: 16px;"/> </a> </div> <div style="margin: 16px 8px 16px 8px; text-align: center;"> - <a href="${object.website_url}" + <a href="${(object.website_url + '?fullscreen=1') if ctx['fullscreen'] else object.website_url | safe}" style="background-color: #875a7b; padding: 8px 16px 8px 16px; text-decoration: none; color: #fff; border-radius: 5px;">View <strong>${object.name}</strong></a> </div> </p> |
