{% extends 'univ_oahpa.html' %} {% load i18n %} {% load goal_filters %} {% load staticfiles %} {% get_current_language as LANGUAGE_CODE %} {% block extrajs %} {% endblock %} {% block page_class %}fixed{% endblock %} {% block imgprefix %}numra{% endblock %} {% block content %} {# Add blocktrans and trans tags #}
{% if new_profile %}

{% trans "You don't have any scores yet, go play some games!" %}

{% else %}

{% load pretty_logs %}

{% trans "Goal learning history" %}

{# TODO: preview of words to work on to entice user to click? #}
    {% for course in courses %} {% if course.coursegoal_set.all|length > 0 %} {% for coursegoal in course.coursegoal_set.all %} {% if coursegoal|goals|length > 0 %} {% with coursegoal|goals as goal_set and forloop.counter as goal_number %} {% for goal in goal_set %} {% if goal|goal_instances_for:user %}
  • {{ goal_number }}.{{ forloop.counter }}) {{coursegoal.short_name }}: {{ goal.short_name }}
    • {{ goal|goal_instances_for:user|length }} {% trans "attempt(s)" %}
  • {% endif %} {% endfor %} {% endwith %} {% endif %} {% endfor %} {% endif %} {% endfor %}

{% trans "Note: these are only the tasks that you have made progress on." %}

{% trans "General learning stats" %}

{% trans "The following scores represent your progress in the games available in Oahpa. Instructors will see your scores as shown below, but will also be able to see individual scores from every game. Good luck!" %}

{% for summary in summaries %}
{% for a in summary.game.name|filter_log %}{{ a }}{% if not forloop.last %} - {% endif %}{% endfor %}
  • {% trans "Average" %} — {{ summary.average }}
  • {% trans "Highest score" %} — {{ summary.maximum }}
  • {% trans "Lowest score" %} — {{ summary.minimum }}
  • {% trans "Number of tries" %} — {{ summary.count }}
{% endfor %}
{% endif %}
{% endblock %}