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

{{ user.get_user_name }}-{{ user_course.course.title }}

{% if user_course %}
本课程奖品列表
{% endif %} {# #} {% for e in user_section_list %} {% endfor %}
顺序ID 课件 状态
{{ e.id }} {{ e.section }} {# #} {% if e.status == 0 %} 未开始 {% elif e.status == 1 %} 学习中 {% elif e.status == 2 %} 已通过 {% elif e.status == 3 %} 退回重修 {% elif e.status == 4 %} 已提交 {% endif %} {# #} {# ({{ e.started_at|default:"" }} - {{ e.passed_at|default:"" }})#} {% if e.status == 0 %} {% if perms.bee_django_course_simple.open_ucs %} 开启 {% endif %} {% elif e.status == 1 %} {% if perms.bee_django_course_simple.pass_ucs %} 通过 {% endif %} {% if perms.bee_django_course_simple.close_ucs %} 关闭 {% endif %} {% endif %}
{% include 'bee_django_course_simple/paginator.html' %} {% endblock content %} {% block scripts %} {% endblock scripts %}