{% extends "base.html" %} {% load i18n %} {% load markdownify %} {% load courses_extra %} {% block content %} {% include "courses/includes/breadcrumbs.html" with breadcrumbs=breadcrumbs %} {% include "courses/includes/course_detail_header.html" with course=run.course run=run subscribed=subscribed %} {% if COURSES_DISPLAY_CHAPTER_DETAILS %} {% include "courses/includes/course_run_detail.html" with chapters=chapters run=run %}
{% else %}
{% endif %}
{% for chapter in chapters %}

{% if user.is_authenticated %}
{{ chapter.perex|markdownify }} {% if user.is_authenticated and subscribed and chapter.active or chapter.passed %}
{% for lecture in chapter.lecture_set.all %} {% endfor %}
{{ lecture.lecture_type|lecture_type_icon }} {{ lecture.title }} {% translate "View" %}
{% endif %}
{% endif %}
{% endfor %}
{% endblock %}