diff --git a/Custom_Templates/customer_templates/Pipedrive - Learn/_video_tutorial_cover.html.liquid b/Custom_Templates/customer_templates/Pipedrive - Learn/_video_tutorial_cover.html.liquid index 577e303d..7659ec0e 100644 --- a/Custom_Templates/customer_templates/Pipedrive - Learn/_video_tutorial_cover.html.liquid +++ b/Custom_Templates/customer_templates/Pipedrive - Learn/_video_tutorial_cover.html.liquid @@ -20,7 +20,11 @@
- {{ course.promo_video_embed_url }} + {% if course.promo_video_embed_url == "" %} + {{ course.properties.video_embed_url }} + {% else %} + {{ course.promo_video_embed_url }} + {% endif %}

{{ course.name }} @@ -184,7 +188,7 @@ suggestedWrapper.parentElement.remove(); } } - + addEventListener("DOMContentLoaded", () => { document.querySelector('#side-menu-tutorials')?.classList.add('side-menu-link-active'); document.querySelector('.header-navigation-item[href="/app/video-tutorials"]')?.classList.add('header-navigation-item-active'); diff --git a/Custom_Templates/customer_templates/Pipedrive - UserLearn/_video_tutorial_cover.html.liquid b/Custom_Templates/customer_templates/Pipedrive - UserLearn/_video_tutorial_cover.html.liquid index 577e303d..943f4147 100644 --- a/Custom_Templates/customer_templates/Pipedrive - UserLearn/_video_tutorial_cover.html.liquid +++ b/Custom_Templates/customer_templates/Pipedrive - UserLearn/_video_tutorial_cover.html.liquid @@ -184,7 +184,7 @@ suggestedWrapper.parentElement.remove(); } } - + addEventListener("DOMContentLoaded", () => { document.querySelector('#side-menu-tutorials')?.classList.add('side-menu-link-active'); document.querySelector('.header-navigation-item[href="/app/video-tutorials"]')?.classList.add('header-navigation-item-active');