diff options
Diffstat (limited to 'addons/website_slides/view/website_slides_embed.xml')
| -rw-r--r-- | addons/website_slides/view/website_slides_embed.xml | 4 |
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"> |
