summaryrefslogtreecommitdiff
path: root/addons/website_slides/static
diff options
context:
space:
mode:
authorPatrick Hoste <pko@odoo.com>2019-09-09 12:18:50 +0000
committerThibault Delavallée <tde@odoo.com>2019-12-24 09:53:20 +0000
commit1894dc54148bd008ffd8ab29ce5cf6cb9c4afaea (patch)
tree5ec65fe9ae1359b98a6cd8cacecf478f9951734b /addons/website_slides/static
parentef8457cac755b1cc3afd55ebaee0920411797568 (diff)
[IMP] website_slides: allow to download slide content and additional resources
PURPOSE Currently eLearning lacks feature of having downloadable resources on lessons. Indeed for example teachers would like to attach zip files or other resources linked to a given lesson. SPECIFICATIONS You can now allow the user to download the slide content for pdf and image slides. A new icon will be visible next to the fullscreen button on the pdf viewer. Course maintainers can also add additional resources to a slide which will be available to download for the user. Task ID 2066741 PR #39890 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
Diffstat (limited to 'addons/website_slides/static')
-rw-r--r--addons/website_slides/static/src/js/slides_course_fullscreen_player.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/website_slides/static/src/js/slides_course_fullscreen_player.js b/addons/website_slides/static/src/js/slides_course_fullscreen_player.js
index 00490ed9a0a..ef317465bbc 100644
--- a/addons/website_slides/static/src/js/slides_course_fullscreen_player.js
+++ b/addons/website_slides/static/src/js/slides_course_fullscreen_player.js
@@ -15,6 +15,7 @@ odoo.define('website_slides.fullscreen', function (require) {
var Dialog = require('web.Dialog');
+ require('website_slides.course.join.widget');
/**
* Helper: Get the slide dict matching the given criteria