{% extends "course/course-base.html" %} {% load i18n %} {% block title %} {% trans "Grade book" %}: {{ opportunity.name }} - {{ relate_site_name }} {% endblock %} {% block content %}

{% trans "Understand a grade" %}: {{ opportunity.name }}

{% if opportunity.due_time != None %} {% endif %} {% if opportunity.flow_id %} {% endif %} {# Translators: averaged grade of a flow of all participants #}
{% trans "Property" %}{% trans "Value" %}
{% trans "Participant" %} {% if not pperm.view_participant_masked_profile %} {{ grade_participation.user.get_full_name }} ({{ grade_participation.user.username }}) {% else %} {{ grade_participation.user.get_masked_profile }}{% if grade_participation.user == request.user %}({% trans "ME" %}){% endif %} {% endif %}
{% trans "Grading Opportunity ID" %}{{ opportunity.identifier }}
{% trans "Due" %}{{ opportunity.due_time }}
{% trans "Flow" %} {% if show_privileged_info %} {{ opportunity.flow_id }} · {% endif %} {% trans "Flow start page" %}
{% trans "Average grade" %} {% if avg_grade_percentage != None %} {# Translators: average grade of a flow, format "10% (out of 5 grades)" #} {% blocktrans trimmed with avg_grade_percentage=avg_grade_percentage|floatformat:"-2" %} {{ avg_grade_percentage }}% (out of {{ avg_grade_population }} grades) {% endblocktrans %} {% else %} {% trans "(no data)" %} {% endif %}
{# {{{ grade history #}

{% trans "Grade history" %}

{% if not grade_changes%} {% blocktrans %} (no grade data available){% endblocktrans %} {% else %} {# Translators: "what" stand for the state of a grade, e.g. "graded" #} {% for gchange in grade_changes %} {% endfor %}
{% trans "Time" %}{% trans "What" %} {% trans "Grade" %} {% trans "Further Information" %}
{{ gchange.grade_time }} {% if gchange.is_superseded %}{% endif %} {{ gchange.get_state_desc }} {% if gchange.is_superseded %}{% endif %} {% if gchange.is_superseded %}{% endif %} {% if gchange.points != None %} {% blocktrans trimmed with points=gchange.points|floatformat:"-2" max_points=gchange.max_points|floatformat:"-2" percentage=gchange.percentage|floatformat:"-2" %} {{ points }}/{{ max_points }} points ({{ percentage }}%) {% endblocktrans %} {% else %} {% trans "(no grade)" %} {% endif %} {% if gchange.is_superseded %}{% endif %} {% if gchange.comment %} {{ gchange.comment }} {% endif %} {% if gchange.flow_session != None %} {% blocktrans trimmed with gchange_flow_session_id=gchange.flow_session.id %} (from flow session {{ gchange_flow_session_id }}) {% endblocktrans %} {% endif %}
{% trans "Overall grade" %} {{ state_machine.stringify_state }} ({% trans "Aggregation strategy" %}: {{ opportunity.get_aggregation_strategy_descr }})
{% endif %} {# }}} #} {# {{{ flow-related #} {% if flow_sessions_and_session_properties %}

{% trans "Flow sessions" %}

{% csrf_token %} {% if show_page_grades %} {% endif %} {% if allow_session_actions %} {% endif %} {% for flow_session, session_properties in flow_sessions_and_session_properties %} {% if show_page_grades %} {% endif %} {% if allow_session_actions %} {% endif %} {% endfor %}
{% trans "Flow ID" %} {% trans "State" %} {% trans "Due" %} {% trans "Result" %}{% trans "Pages" %}{% trans "Actions" %}
{{ flow_session.id }} {% include "course/flow-session-state.html" %}
{% if flow_session.access_rules_tag %}

{% trans "Grading rules" %}: {% if session_properties.grade_description %} {{ session_properties.grade_description }} {% endif %}

{% endif %}

{% trans "Expiration mode" %}: {{ flow_session.get_expiration_mode_desc }}

{# Translators: means "Started at", which followed by a time string#} {% trans "Started" %}: {{ flow_session.start_time }}

{% if not flow_session.in_progress %}

{# Translators: means "Completed at", which followed by a time string#} {% trans "Completed" %}: {{ flow_session.completion_time }}

{# Translators: means "Last activity at", which followed by a time string#} {% trans "Last activity" %}: {{ flow_session.last_activity }}

{% endif %}
{% if session_properties.due %} {{ session_properties.due }} {% endif %} {% if flow_session.max_points != None %} {% if flow_session.points != None %} {{ flow_session.points|floatformat:"-2" }} / {{ flow_session.max_points|floatformat:"-2" }} ({{ flow_session.points_percentage|floatformat:"-2" }}%) {% else %} {% blocktrans trimmed with max_points=flow_session.max_points|floatformat:"-2" %} (grade not available) ({{ max_points }} points achievable) {% endblocktrans %} {% endif %} {% else %} {% trans "(none)" %} {% endif %} {% if show_privileged_info and flow_session.result_comment %}

{% trans " Notes:" %} {{ flow_session.result_comment|linebreaks }}

{% endif %}
{% if flow_session.answer_visits %} {% if show_privileged_info %} {% endif %} {% for visit in flow_session.answer_visits %} {% if visit %} {% if visit.get_most_recent_grade != None and visit.get_most_recent_grade.value != None %} {% if show_privileged_info %} {% endif %} {% else %} {% if show_privileged_info %} {% endif %} {% endif %} {% endif %} {% endfor %}
{% trans "Page" %} {% trans "Percent" %} {% trans "Points" %}{% trans "Grader" %}
{{ visit.page_data.page_ordinal }} {% if show_privileged_info %} {{ visit.page_data.group_id }}/{{ visit.page_data.page_id }} {% else %} {% if visit.page_data.title %} {% if visit.page_data.bookmarked %} {% endif %} {{ visit.page_data.title }} {% else %} {{ visit.page_data.group_id }}/{{ visit.page_data.page_id }} {% endif %} {% endif %} {{ visit.get_most_recent_grade.percentage|floatformat:"-2" }}% {{ visit.get_most_recent_grade.value|floatformat:"-2" }}/{{ visit.get_most_recent_grade.max_points }}{{ visit.get_most_recent_grade.grader.username }} {% trans "(no grade)" %}
{% endif %}
{% if pperm.regrade_flow_session %} {% endif %} {% if flow_session.in_progress %} {% if pperm.impose_flow_session_deadline %} {% endif %} {% if pperm.end_flow_session %} {% endif %} {% else %} {% if pperm.reopen_flow_session %} {% trans "Reopen" %} {% endif %} {% if pperm.recalculate_flow_session_grade %} {% endif %} {% endif %} {% if pperm.grant_exception %} {% trans "Grant exception" %} {% endif %}
{% endif %} {% if show_privileged_info and opportunity.flow_id %}
{% trans "Grant exception" %}
{% endif %} {# }}} #} {% endblock %} {# vim: set foldmethod=marker: #}