{% extends "course/course-base.html" %} {% load i18n %} {% block title %} {{flow_desc.title}} - {{ relate_site_name }} {% endblock %} {% block content %} {% if flow_desc.description %} {{flow_desc.description_html|safe}} {% endif %}
{% csrf_token %} {% if past_sessions_and_properties %}

{% trans "Past sessions" %}

{% for flow_session, session_properties in past_sessions_and_properties %} {% endfor %}
{% trans "Start time" %} {% trans "State" %} {% trans "Grading rules" %} {% trans "Due" %} {% trans "Result" %} {% trans "Actions" %}
{{ flow_session.start_time }} {% include "course/flow-session-state.html" %} {% if not flow_session.in_progress %} ({{ flow_session.completion_time }}) {% endif %} {% if session_properties.grade_description %} {{ session_properties.grade_description }} {% else %} {% trans "(no description)" %} {% endif %} {% if session_properties.due %} {{ session_properties.due }} {% endif %} {% if session_properties.grade_shown %} {% if flow_session.points_percentage != None %} {% blocktrans trimmed with points=flow_session.points|floatformat:"-2" max_points=flow_session.max_points|floatformat:"-2" percentage=flow_session.points_percentage|floatformat:"-2" %} {{ points }} out of {{ max_points }} ({{ percentage }}%) {% endblocktrans %} {% else %} {% trans "(none)" %} {% endif %} {% else %} {% trans "(not shown)" %} {% endif %} {% if session_properties.may_view %} {% if session_properties.may_modify %} {% trans "Resume" %} » {% else %} {% trans "Review" %} » {% endif %} {% if not flow_session.in_progress %} {% trans "Results" %} {% endif %} {% endif %}
{% endif %} {% if may_start %} {% if new_session_grading_rule.grade_identifier %}
{% trans "If you start a new session, the following rules will apply:" %}
{% endif %} {# {{{ start button #} {% if start_may_decrease_grade %} {% trans "Start" %} » {% else %} {% endif %} {# }}} #} {% endif %} {% if may_start or past_sessions_and_properties %} {% else %}

{% blocktrans trimmed %} You do not have any existing/viewable sessions and are not allowed to start a new one. {% endblocktrans %}

{% trans "Check the following:" %}

{% endif %}
{% endblock %} {# vim: set foldmethod=marker: #}