{{ 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 show_page_grades %}
{% if flow_session.answer_visits %}
|
{% trans "Page" %} |
{% trans "Percent" %} |
{% trans "Points" %} |
{% if show_privileged_info %}
{% trans "Grader" %} |
{% endif %}
{% for visit in flow_session.answer_visits %}
{% if visit %}
{{ 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 %}
|
{% if visit.get_most_recent_grade != None and visit.get_most_recent_grade.value != None %}
{{ visit.get_most_recent_grade.percentage|floatformat:"-2" }}% |
{{ visit.get_most_recent_grade.value|floatformat:"-2" }}/{{ visit.get_most_recent_grade.max_points }} |
{% if show_privileged_info %}
{{ visit.get_most_recent_grade.grader.username }} |
{% endif %}
{% else %}
{% trans "(no grade)" %} |
|
{% if show_privileged_info %}
|
{% endif %}
{% endif %}
{% endif %}
{% endfor %}
{% endif %}
|
{% endif %}
{% if allow_session_actions %}
{% 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 %}
{% endfor %}