-
- Downloads
[REF] website_slides : refactor share_modal to use same template(s) in all case
This commit prepares the next one. It creates generic main and sub templates for slide share modal. In order to be usable for all cases, header and body sub template have been added. Also and in the same purpose, as the website url can be another url than the record to share (or if the record doesn't have website_url), this website_url can be specified separately from the record. Otherwise, the standard behaviour is to use the record.website_url. Task ID: 1950396 PR #31776
Showing
- addons/website_slides/static/src/js/slides_share.js 4 additions, 3 deletionsaddons/website_slides/static/src/js/slides_share.js
- addons/website_slides/views/website_slides_templates_course.xml 10 additions, 32 deletions.../website_slides/views/website_slides_templates_course.xml
- addons/website_slides/views/website_slides_templates_lesson.xml 14 additions, 3 deletions.../website_slides/views/website_slides_templates_lesson.xml
- addons/website_slides/views/website_slides_templates_lesson_embed.xml 4 additions, 1 deletion...te_slides/views/website_slides_templates_lesson_embed.xml
- addons/website_slides/views/website_slides_templates_utils.xml 42 additions, 19 deletions...s/website_slides/views/website_slides_templates_utils.xml
Loading
Please register or sign in to comment