{% extends 'univ_oahpa.html' %} {% load i18n %} {% load cache %} {% load goal_filters %} {% load staticfiles %} {% block extrajs %} {% endblock %} {% get_current_language as LANGUAGE_CODE %} {% comment %} TODO: internationalization strings {% endcomment %} {% block imgprefix %}numra{% endblock %} {% block page_class %}fixed{% endblock %} {% block content %} {# Add blocktrans and trans tags #}

{{ student }}

{% trans "last login" %}
{{ student.last_login }}
{% trans "login count" %}
{{ student.login_count }}

{{ course }}

Goal progress

{% if course.coursegoal_set.all|length > 0 %} {% for coursegoal in course.coursegoal_set.all %}
{% if coursegoal|goals_with_progress:student|length > 0 %}

{{ coursegoal.short_name }}

{% with coursegoal|goals_with_progress:student as goal_set %} {% include 'instructor_goal_table_list.html' %} {% endwith %}
{% else %}

{{ coursegoal.short_name }}

{% trans "No progress yet" %}
{% endif %}
{% endfor %} {% endif %}



{% trans "Summary of all work" %}

{# TODO: padding here is not working #} {% for grade in student.grades|dictsort:"game_name" %} {% endfor %}
{% trans "exercise" %}  {% trans "average" %}  {% trans "minimum" %}  {% trans "maximum" %}  {% trans "game count" %}
{{ grade.game_name }} {{ grade.average }} {{ grade.minimum }} {{ grade.maximum }} {{ grade.count }}
{% endblock %} {# vim: set ts=4 sw=4 tw=0 syntax=htmldjango : #}