{% extends "course/base.html" %} {% block two_col_media %} {% endblock %} {% block two_col_js %} {% endblock %} {% block middle_content %}

{{title}}

{% set lessons = course.lessons.all() %} {{_("Sort by")}}: {% if grades|length > 0 %} {% for lesson in lessons %} {% endfor %} {% endif %} {% for student, grade in grades.items() %} {% for lesson in lessons %} {% endfor %} {% endfor %}
{{_('Student')}} {{ lesson.title }}
{{lesson.points}}
{{_('Total')}}
{{link_user(student)}}
{{student.first_name}}
{{ grade[lesson.id]['percentage'] | floatformat(0) }}% {{ grade['total']['percentage'] | floatformat(0) }}%
{% endblock %}