{% 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_questionwork %} {% if e.question_passed %} 查看问卷 {% endif %} {% endif %} {% if e.section.has_imagework or e.section.has_textwork %} 作业 {% endif %} | {% if user and user.is_pause %} {% else %} {% if e.status == 0 %} {% if perms.bee_django_course.open_ucs %} 开启 {% endif %} {% elif e.status == 1 %} {% if perms.bee_django_course.pass_ucs %} 通过 {% endif %} {% if perms.bee_djang_course.close_ucs %} 关闭 {% endif %} {% endif %} {% endif %} |