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

{{ user_course.course.name }}

{# #} {% for e in user_course_section_list %} {# #} {% endfor %}
顺序ID 课件 状态
#} {# {{ e.section.coursesectionmid_set.all }}#} {# {{ e.id }} {{ e.section.name }} {% if e.status == 0 %} 未开始 {% elif e.status == 1 %} 学习中 {% elif e.status == 2 %} 已通过 {% elif e.status == 3 %} 退回重修 {% elif e.status == 4 %} 已提交 {% endif %} {% if not e.status == 0 %} 详情 {% endif %} {# {{ e.score | default:'' }}#} {% if e.section.has_videowork %} 要求练习:{{ e.section.video_length_req }}分钟 {% if not e.status == 0 %} 已经练习{{ e.work_time }}分钟 {% endif %} {% endif %} {% if e.section.has_questionwork %} {% if e.question_passed %} 查看问卷 {% endif %} {% endif %} {% if e.section.has_imagework or e.section.has_textwork %} 作业 {% endif %} {% if e.status == 0 %} 开启 {% elif e.status == 1 %} 通过 关闭 {% endif %}
{% include 'bee_django_course/paginator.html' %} {% endblock content %} {% block scripts %} {% endblock scripts %}