{% extends "bee_django_course/base.html" %} {% block content %} {#课程列表#}
顺序 | #}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_imagework or e.section.has_textwork %} 作业 {% endif %} | {% if e.status == 0 %} 开启 {% elif e.status == 1 %} 通过 {% endif %} |