{% extends "bee_django_course/base.html" %} {% block content %} {#课程列表#}

{{ user_course.course.name }}

{# #} {% for ucs in user_course_section_list %} {# #} {% endfor %}
顺序ID 课件 状态
#} {# {{ucs.section.coursesectionmid_set.all }}#} {# {{ucs.id }} {{ucs.section.name }} {% if ucs.status == 0 %} 未开始 {% elif ucs.status == 1 %} 学习中 {% elif ucs.status == 2 %} 已通过 {% elif ucs.status == 3 %} 退回重修 {% elif ucs.status == 4 %} 已提交 {% endif %} {% if not ucs.status == 0 %} 详情 {% endif %} {# {{ucs.score | default:'' }}#} {% if ucs.is_learning %}
{% if ucs.section.has_videowork %} 录播:{{ucs.work_time }} {% if ucs.minus_live_mins > 0 %} - {{ucs.minus_live_mins }} {% endif %} / {{ucs.section.video_length_req }} {% if ucs.teacher_add_mins > 0 %} + {{ucs.teacher_add_mins }} {% endif %} {% endif %}
{% if ucs.section.has_imagework %} 图片: {{ ucs.get_assignment_img_count }} / {{ ucs.section.image_count_req }} {% endif %}
{% if ucs.section.has_textwork %} 文字作业: {% endif %}
{% if ucs.section.has_to_finish_course_video %} 看完全部视频: {% if ucs.check_video_watch_status == True %} √ {% else %} × {% endif %} {% endif %}
{% if ucs.section.has_questionwork %} 答题: {% if ucs.question_passed %} √ {% else %} × {% endif %} {% endif %}
{% if ucs.section.pass_cooldown > 0 %} 距最近通过课件时间间隔:{{ ucs.section.pass_cooldown }}天 {% endif %}
{% elif ucs.is_passed %} {{ ucs.passed_at|date:"Y-m-d H:i" }}通过 {% endif %}
{% if ucs.is_learning or ucs.is_passed %} {% if ucs.section.has_imagework or ucs.section.has_textwork or ucs.section.has_videowork or ucs.section.has_questionwork %} 作业 {% endif %} {% endif %} {% include 'bee_django_course/user/_ucs_management.html' %}
{% include 'bee_django_course/paginator.html' %} {% endblock content %} {% block scripts %} {% include 'bee_django_course/user/_ucs_management_script.html' %} {% endblock scripts %}