{% extends "bee_django_course/user_base.html" %} {% load bee_django_course_filter %} {% block content %}

{{ ucs.section.name }}

{% for e in ucs.section.sectionvideo_set.all %}
{{ e.video.title }} {{ e.video.info | linebreaks }}
{% endfor %}

{{ ucs.section.info | safe }}

{% for attach in ucs.section.sectionattach_set.all %}
教材: {{ attach.file_name }}
{% endfor %} {% if ucs.section.has_textwork %}
文字作业:{{ ucs.section.textwork_info }}
{% endif %} {% if ucs.section.has_imagework %}
图片作业:需要上传{{ ucs.section.image_count_req }}张图片
{% endif %} {% if ucs.section.has_videowork %}
视频作业:需要录制{{ ucs.section.video_length_req }}分钟的作业
{% endif %} {% if request.user == ucs.user_course.user %} 去做作业 {% endif %} {% endblock content %}