{% extends "bee_django_course/base.html" %} {% load bootstrap3 %} {% load bee_django_course_filter %} {% block styles %} {% endblock %} {% block content %}

课程详情

{% if perms.bee_django_course.change_section %} 修改课件 {% endif %}
配图 {% if section.image %} {% else %} 无 {% endif %}
名称 {{ section.name }}
要求
{% if section.has_videowork %}直播{{ section.video_length_req }}分钟{% endif %}
{% if section.has_imagework %}上传{{ section.image_count_req }}张图片{% endif %}
{% if section.has_questionwork %}正确回答问卷问题{% endif %}
达到上述要求后是否自动通过 {{ section.get_auto_pass_text }}
文字作业 {% if section.has_textwork %}{{ textwork_info }}{% else %}无{% endif %}
说明
已添加的附件 {% for e in attachs %} {{ e.file_name }} {% endfor %}
已关联的视频 {% for e in section.sectionvideo_set.all %}
{{ e.order }} - {{ e.video.title }} {% if perms.bee_django_course.change_section %} 修改排序 解除关联 {% endif %}
{% endfor %}
测试问卷 {% if perms.bee_django_course.add_sectionquestion %} {% if section.get_questions|length > 0 %} 查看:{{ section.get_questions|length }}问题 {% else %} 添加 {% endif %} {% endif %}
{% if perms.bee_django_course.change_section %}

添加关联的视频

{% csrf_token %} {% bootstrap_form section_video_form %} {% bootstrap_button '提交' %}
{% endif %} {% endblock %} {% block scripts %} {% endblock %}