попап в конце видео

remotes/origin/feature/end-video-popup-28-05-19
gzbender 7 years ago
parent a9003418f5
commit 5a2f155765
  1. 4
      apps/content/templates/content/blocks/video.html
  2. 4
      apps/school/templates/blocks/schedule_item.html
  3. 2
      apps/user/templates/user/profile.html

@ -6,11 +6,11 @@
<div class="content-block__video iframe__container">
{% if content.is_youtube_video %}
<iframe class="js-video" data-is-youtube="1" src="https://www.youtube.com/embed/{{ content.video_index }}"
data-course-id="{{ content.course_id|default:'' }}"
data-course-id="{% if content.lesson_id %}{{ content.lesson.course_id }}{% else %}{{ content.course_id|default:'' }}{% endif %}"
frameborder="0" allow="autoplay; encrypted-media" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>
{% elif content.is_vimeo_video %}
<iframe class="js-video" data-is-vimeo="1" src="https://player.vimeo.com/video/{{ content.video_index }}"
data-course-id="{{ content.course_id|default:'' }}"
data-course-id="{% if content.lesson_id %}{{ content.lesson.course_id }}{% else %}{{ content.course_id|default:'' }}{% endif %}"
frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen>
</iframe>
{% endif %}

@ -56,13 +56,11 @@
{% endif %}
</div>
<div class="timing__content">
{% comment %}
{% if live_lesson and live_lesson.short_description %}
{{ live_lesson.short_description }}
{% else %}
{% endcomment %}
{{ school_schedule.description }}
{% comment %}{% endif %}{% endcomment %}
{% endif %}
</div>
<div class="timing__more">
<div class="timing__head">Материалы</div>

@ -142,7 +142,7 @@
{% if paid.exists %}
{% include "course/course_items.html" with course_items=paid %}
{% endif %}
{% if not is_school_purchased and not paid.exists and not user_gift_certificates.exists %}
{% if not is_school_purchased and not is_camp_purchased and not paid.exists and not user_gift_certificates.exists %}
<div class="center center_xs">
<div class="done">
<div class="done__title">Вы пока ничего не приобрели...</div>

Loading…
Cancel
Save