{% extends "course/base.html" %} {% block two_col_media %} {% endblock %} {% block js_media %} {% endblock %} {% block middle_content %}
{{_('Student')}} | {% if grades|length > 0 %} {% for lesson_problem in lesson_problems %}
{{ lesson_problem.problem.name }}
{{lesson_problem.score}}
|
{% endfor %}
{% endif %}
{{_('Total')}} |
---|---|---|
{{link_user(student)}}
{{student.first_name}}
|
{% for lesson_problem in lesson_problems %}
{% set val = grade.get(lesson_problem.problem.id) %}
{% if val and val['case_total'] %} {{ (val['case_points'] / val['case_total'] * lesson_problem.score) | floatformat(0) }} {% else %} 0 {% endif %} | {% endfor %}{{ grade['total']['percentage'] | floatformat(0) }}% |