summaryrefslogtreecommitdiff
path: root/addons/website_slides/view/website_slides_embed.xml
diff options
context:
space:
mode:
authorChristophe Simonis <chs@odoo.com>2017-10-31 15:25:01 +0100
committerChristophe Simonis <chs@odoo.com>2017-10-31 15:25:01 +0100
commit810b6aa7600bad6bba4d0fc67f04ecf4975193d5 (patch)
tree3ae5238cdb4aa22f056c1869fb5766b2b3fe45e8 /addons/website_slides/view/website_slides_embed.xml
parent3c55407f111dcf44fdc0258b2352d208bdc71a0a (diff)
parentd1fcca1504a8a745775487bfd7740505894d2f5f (diff)
[MERGE] forward port branch saas-15 up to d1fcca1504a
Diffstat (limited to 'addons/website_slides/view/website_slides_embed.xml')
-rw-r--r--addons/website_slides/view/website_slides_embed.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/website_slides/view/website_slides_embed.xml b/addons/website_slides/view/website_slides_embed.xml
index c3c77fc676d..72614803325 100644
--- a/addons/website_slides/view/website_slides_embed.xml
+++ b/addons/website_slides/view/website_slides_embed.xml
@@ -59,7 +59,7 @@
<!-- PDF Viewer Body : contains the canvas, the loader, or the image-->
<div id="PDFSlideViewer" style="position:relative;"
t-attf-data-slideid="#{slide.id}"
- t-attf-data-slideurl="/slides/slide/#{slide.id}/pdf_content"
+ t-attf-data-slideurl="/slides/slide/#{slug(slide)}/pdf_content"
t-attf-data-downloadable="#{slide.download_security}"
t-att-data-defaultpage="page">
<t t-if="is_embedded">
@@ -133,7 +133,7 @@
<div class="col-lg-4 col-md-4 col-sm-4 col-xs-4 text-center"></div>
</div>
<div class="col-lg-2 col-md-2 col-sm-2 col-xs-2 pull-right text-right">
- <a t-if="slide.download_security and not is_embedded" target="_top" t-attf-href="/slides/slide/#{slide.id}/download" title="Download" id="download">
+ <a t-if="slide.download_security and not is_embedded" target="_top" t-attf-href="/slides/slide/#{slug(slide)}/download" title="Download" id="download">
<i class="fa fa-download fa-2x"></i>
</a>
<span id="fullscreen" title="View fullscreen">