|
|
|
|
@ -212,7 +212,7 @@ |
|
|
|
|
{% endif %} |
|
|
|
|
</div> |
|
|
|
|
<a class="course__video video" href="#"> |
|
|
|
|
{% if course.cover %} |
|
|
|
|
{% if course.cover and course.cover.image %} |
|
|
|
|
<img class="video__pic" src="{{ course.cover.image.url }}"/> |
|
|
|
|
{% else %} |
|
|
|
|
|
|
|
|
|
@ -272,7 +272,7 @@ |
|
|
|
|
{% endif %} |
|
|
|
|
<div |
|
|
|
|
class="course course_promo" |
|
|
|
|
style="background-image: url({% if course.cover %}{{ course.cover.image.url }}{% else %}{% static 'img/no_cover.png' %}{% endif %});" |
|
|
|
|
style="background-image: url({% if course.cover and course.cover.image %}{{ course.cover.image.url }}{% else %}{% static 'img/no_cover.png' %}{% endif %});" |
|
|
|
|
> |
|
|
|
|
<div class="course__center center center_sm"> |
|
|
|
|
<div class="course__head"> |
|
|
|
|
|