{% extends "coachreports/base.html" %} {% load i18n %} {% load staticfiles %} {% load my_filters %} {% block coachreports_active %}{% endblock coachreports_active %} {% block selfreports_active %}active{% endblock selfreports_active %} {% block title %}{% trans "User report" %} {{ block.super }}{% endblock title%} {% block report_title %}{% trans "User report" %}{% endblock report_title %} {% block headcss %}{{ block.super }} {% endblock headcss %} {% block navbar_topics %}{% endblock navbar_topics %} {% block navbar_makelink %}{% endblock navbar_makelink %} {% block navbar_facilities %}{% endblock %} {% block navbar_groups %} {% block navbar_user %} {% if student %}
{{ student.get_name }}
{% endif %} {% endblock navbar_user %} {% endblock navbar_groups %} {% block content %} {% block navbar %}{{ block.super }}{% endblock navbar %} {% block student_report %} {% if no_data %} {% if request.is_admin or is_central %} {% trans "No data for this user." %} {% else %} {% trans "Welcome to KA Lite!" %} {% trans "Please return to this page after watching videos or practicing exercises." %} {% endif %} {% else %}

{% trans "Mastery of Topics" %}

{% for def in stat_defs %} {% endfor %} {% for topic in topics %} {% for def in stat_defs %} {% endfor %} {% endfor %}
{% trans "Exercises" %} {% trans "Videos" %}
{% trans "Topic" %}{% trans def.title %}
 
{% if not is_central %} {% trans topic.title %} {% else %} {% trans topic.title %} {% endif %} {% if def.type == "float" %} {{ stats|get_item:topic.id|get_item:def.key|floatformat }} {% elif def.type == "pct" %} {{ stats|get_item:topic.id|get_item:def.key|percent:1 }} {% elif def.type == "date" %} {{ stats|get_item:topic.id|get_item:def.key|date:"SHORT_DATE_FORMAT" }} {% elif def.key != "ex:total_struggling" %} {{ stats|get_item:topic.id|get_item:def.key }} {% else %} {% for exercise_log in exercise_logs|get_item:topic.id %} {% if exercise_log.struggling %} {% cycle 'a' 'b' 'c' 'd' 'e' 'f' 'g' 'h' 'i' 'j' 'k' 'l' 'm' 'n' 'o' 'p' as letter silent %} {% for exercise in exercises|get_item:topic.id %} {% if exercise.name = exercise_log.exercise_id %} {{ letter }} {% endif %} {% endfor %} {% endif %} {% endfor %} {% endif %}
{% endif %} {% endblock student_report %} {% endblock content %}