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:
@ -20,7 +20,11 @@
|
||||
<div class="row video-tutorial-body">
|
||||
<div class="video-content col-12 col-md-8">
|
||||
<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>
|
||||
<h4 class="video-title">
|
||||
{{ course.name }}
|
||||
|
||||
Reference in New Issue
Block a user