{% 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 %}
直播分钟:
{% if not e.status == 0 %}
{{ e.work_time }}
{% endif %}
{% if e.minus_live_mins > 0 %}
- {{ e.minus_live_mins }}
{% endif %}
/
{{ e.section.video_length_req }}
{% if e.teacher_add_mins > 0 %}
+ {{ e.teacher_add_mins }}
{% endif %}
{% if e.work_time > 0 and e.is_learning %}
{% if perms.bee_djang_course.minus_live_mins %}
修改扣减分钟数为:
{% endif %}
{% 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 %} |