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

Past sessions

{% for flow_session, session_properties in past_sessions_and_properties %} {% endfor %}
Start time State Grading rules Due Result 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 %} (no description) {% endif %} {% if session_properties.due %} {{ session_properties.due }} {% endif %} {% if flow_session.points_percentage %} {{ flow_session.points|floatformat }} out of {{ flow_session.max_points|floatformat }} ({{ flow_session.points_percentage|floatformat }}%) {% else %} (none) {% endif %} {% if session_properties.may_view %} {% if session_properties.may_modify %} Resume » {% else %} Review » {% endif %} {% endif %} {% if not flow_session_properties.in_progress %} Results {% endif %}
{% endif %} {% if may_start %} {% endif %} {% if may_start or past_sessions_and_properties %} {% else %}
You do not have any existing sessions and are not allowed to start a new one.
{% endif %}
{% endblock %} {# vim: set foldmethod=marker: #}