Pipedrive templates since our video promo url in course settings no longer works. Created a property + if statement that decides between the two values

This commit is contained in:
Norm Rasmussen
2024-11-22 11:00:45 -05:00
parent 0589e0b579
commit 97fb6a82e7
2 changed files with 7 additions and 3 deletions

View File

@ -20,7 +20,11 @@
<div class="row video-tutorial-body"> <div class="row video-tutorial-body">
<div class="video-content col-12 col-md-8"> <div class="video-content col-12 col-md-8">
<div class="video-player"> <div class="video-player">
{{ course.promo_video_embed_url }} {% if course.promo_video_embed_url == "" %}
{{ course.properties.video_embed_url }}
{% else %}
{{ course.promo_video_embed_url }}
{% endif %}
</div> </div>
<h4 class="video-title"> <h4 class="video-title">
{{ course.name }} {{ course.name }}