{% extends 'course-manage/layout.html.twig' %}

{% block title %}{{'course.homework_check'|trans}} - {{ course.title }} - {{ parent() }}{% endblock %}
{% set course_side_nav = 'homework-check' %}

{% block page_title %}{{ 'course.homework_check'|trans }}{% endblock %}

{% block main_body %}
  <div>
    {#添加admin_v2#}
    {% if isTeacher is defined and not isTeacher and (not has_permission('admin_course_manage') or not has_permission('admin_v2_course_manage'))  %}
      <span class="color-danger">{{'course.homework_check.no_permission_tips'|trans}}</span>
    {% endif %}

    {{ render(controller('AppBundle:Testpaper/Manage:checkList',{request:app.request,targetId:course.id, targetType: 'course',type:'homework'})) }}
  </div>
{% endblock %}