From 3e09ed150699fbf1fc797a47260bb3dfec5bcf16 Mon Sep 17 00:00:00 2001 From: qmo-odoo Date: Mon, 18 Mar 2019 11:21:34 +0000 Subject: [PATCH] [FIX] website_slides: fix various non-fullscreen view issues This commit provides a few fixes for the non-fullscreen view: * remove the subquiz link on slides of type 'quiz' in the sidebar; * hide completion icons in sidebar if not member; * only show the 'embed on your website' option when a slide has an embed code. This will prevent slides of type 'certification' or 'quiz' to display an empty embed box; Commit linked to task ID 1941250 and PR #31977 --- .../views/website_slides_templates_lesson.xml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/addons/website_slides/views/website_slides_templates_lesson.xml b/addons/website_slides/views/website_slides_templates_lesson.xml index 63f737b275c..fcb324a4193 100644 --- a/addons/website_slides/views/website_slides_templates_lesson.xml +++ b/addons/website_slides/views/website_slides_templates_lesson.xml @@ -141,7 +141,7 @@
  • -
    +
    @@ -164,7 +164,7 @@
  • - + Quiz
  • @@ -177,6 +177,7 @@