{% 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=course %} {% include "courses/includes/course_run_detail.html" with chapters=course.chapter_set.all %}
{% if course_run.perex %}
{{ course_run.perex|markdownify }}
{% elif course_run.course.perex %}
{{ course_run.course.perex|markdownify }}
{% else %}
{{ course_run.course.description|markdownify }}
{% endif %}
{% if course_run.meeting_set.all %}
{% translate "Meetings" %}:
{% for meeting in course_run.meeting_set.all %}
{{ meeting.lecture.lecture_type|lecture_type_icon }} {{ meeting.start }} - {{ meeting.end|date:'H:i' }}
{% endfor %}
{% endif %}