summaryrefslogtreecommitdiff
path: root/addons/website_slides_survey/static/src/xml/website_slide_upload.xml
AgeCommit message (Collapse)Author
2020-08-11[REF] website(_sale)_slides(_survey): improve course management and creationPatrick Hoste
PURPOSE Improve usability of course creation and management in frontend SPECIFICATIONS This commit improves various elements of the eLearning module: * the create 'new course' dialog has been improved with examples and improved placeholders; * allow to create tags directly from course creation modal. Using the add tag button after having created the course is not the only way of managing tags anymore; * the create 'new content' dialog has some explanations on the right side; * add a flag indicating which content has already been viewed in documentation; * changes the text/color of some buttons; LINKS Task ID-2241513 PR #55698
2020-04-16[IMP] website_slides,_survey: allow certification creation at frontendFlorent Lejoly
Purpose ======= Before this commit, in the front end, you had to create a certification before adding it to a course. This commit allows creation of certification in front-end with pre-filled settings. Functional Spec =============== 1. On a course, add content, type certification, you can choose an existing one (normal flow) or create a new one in the dropdown by typing a new survey name (new flow). 3. When submitting (Publish or save as draft), a certification survey, with pre-filled settings is created and linked to the slide. Pre-filled settings: * One page per question * Attempts limit : 1 * Time limit : no limit * Scoring without answers * Passing score : 70% * Is Certification : True * Email Template : Certification: Send by email * Give Badge : False 4. After submit, the user stays on the Course Content. 5. A toaster is displayed in the top right saying: Toaster's Title: Certification created Content: Follow this link to add questions to your certification. <a>Edit certification</a> A website editor can select a certification (if available) for the creation of a slide. Task id: 1981399 PR #43577 Co-Authored-By: Florent Lejoly <fle@odoo.com> Co-Authored-By: David Beguin <dbe@odoo.com>
2019-02-15[ADD] website_slides_survey: add a new bridge between slide and surveyAurélien Warnon
Task #1940360 Subtask of #1902304 Purpose ======= Adds certification capabilities to the website_slides module. Channel/courses can now include certifications as a new type of slide. This new type of slide is available as a "Certification" button on the slide creation frontend view (next to "Video", "Presentation", ...). Users have to link the slide to an actual survey that has the 'certificate' field set to true (that will populate the slide's survey_id field). Slides of type certification are handled in frontend in a very simple way for now: - A button "Begin certification" that redirects the user to the related survey frontend. - A button "Download certification" when the user has succeeded the certification. - When the survey is done, if it's linked to a slide, a button "Go back to course" allows the user to go back to the slide frontend. (There is a special use case for when the website_publisher designing the survey lands on a certification slide: he is allowed to test the survey with a survey_input created as test_entry) Survey creation as well as limited time, limited number of attempts, ... are still completely handled in the survey module. That means that the user will have to first create a suitable survey that is a certification and only then create a slide of type "certification" and link the created survey to it. Ideally, the taking of the survey should be transparently included in the slide frontend but it requires a full refactoring of the way surveys are submitted. This will most likely come in a later commit. This commit is an advanced merge of full eLearning module (see task #1902304).