[FIX] website_slides: auto set done successfull quizz
For now, in no fullscreen mode, if the quiz is succeed, the user progress is not updated because the quiz is not set to done. This commit implements this call to mark slide as done and green the check bullet. We decided to unify the submit RPC call with the done one, so a quiz (or a slide with questions) can only be done when submitting answers. As consequence, we need to prevent some slide type to use the /set_completed route (quiz and certif). Task-1941250
Showing
- addons/website_slides/controllers/main.py 7 additions, 2 deletionsaddons/website_slides/controllers/main.py
- addons/website_slides/static/src/js/slides_course_fullscreen_player.js 21 additions, 7 deletions...e_slides/static/src/js/slides_course_fullscreen_player.js
- addons/website_slides/static/src/js/slides_course_quiz.js 15 additions, 20 deletionsaddons/website_slides/static/src/js/slides_course_quiz.js
- addons/website_slides_survey/controllers/slides.py 10 additions, 1 deletionaddons/website_slides_survey/controllers/slides.py
Loading
Please register or sign in to comment