{% extends 'base_course.html' %} {% block top_content %}
{% if not transient_student %}
{% if progress[unit.unit_id] > 0 %}
{% else %}
{% endif %}
{% else %}
{% endif %}
{{ unit.title }}
{% if unit.needs_human_grader %}
{% if not unit.now_available and is_course_admin %}
(Private)
{% endif %}
{% if not transient_student %}
{% if unit.review_progress == 2 %}
{% elif unit.review_progress == 1 %}
{% else %}
{% endif %}
{% endif %}
{% if unit.is_submitted %}
{% if unit.matcher == 'peer' %}
{# I18N: Displayed in the course contents page. Indicates a page to which students can go to review other students' assignments. #}
{{ gettext('Review peer assignments') }}
{% endif %}
{% else %}
{% if unit.matcher == 'peer' %}
{# I18N: Displayed in the course contents page. Indicates a page to which students can go to review other students' assignments. #}
{{ gettext('Review peer assignments') }}
{% endif %}
{% endif %}
{% endif %}
{% elif unit.type == 'U' %}
{% if is_progress_recorded and not transient_student %}
{% if progress[unit.unit_id] == 2 %}
{% elif progress[unit.unit_id] == 1 %}
{% else %}
{% endif %}
{% else %}
{% endif %}
{# I18N: A row in the course schedule. #}
{{ gettext('Unit %(id)s - %(title)s', id=unit.index, title=unit.title) }}
{% elif unit.type == 'O' %}
{{ unit.title }} {% else %}
Error: unit type not recognized. {% endif %} {% if not unit.now_available and is_course_admin %} (Private) {% endif %}