[FIX] website_slides_survey: fix some certifications issues in eLearning frontend
This commit fixes a few issues with courses which have certification * fix links to already passed certifications: currently it crashed, now it redirects to the certification end screen; * "Begin your certification now" green box link now has same behaviour as links in the list view. It redirects to either the start certification screen or the first slide in fullscreen mode. Moreover once the user has started the course (at least one completed slide) this box disappears as it is not really useful anymore; Some dead code is removed. Commit linked to task ID 1978530 (fixes linked to internal testing).
Showing
- addons/website_slides_survey/models/slide_slide.py 2 additions, 3 deletionsaddons/website_slides_survey/models/slide_slide.py
- addons/website_slides_survey/static/src/js/slides_course_fullscreen_player.js 1 addition, 9 deletions...s_survey/static/src/js/slides_course_fullscreen_player.js
- addons/website_slides_survey/views/website_slides_templates_course.xml 3 additions, 3 deletions...e_slides_survey/views/website_slides_templates_course.xml
Please register or sign in to comment