{% load i18n %} {% load markdownify %} {% load courses_extra %}

{% translate "Course Chapters" %}

{% for chapter in chapters %}
{# PlaceholderThumbnail#}
{{ chapter.title }}
{#
{{ course.title|upper }}
#}

{{ chapter.perex|markdownify }}

{% if user.is_authenticated and subscribed %}
{% translate "View" %} {% if chapter.passed %} {% translate "Ended" %} {% elif not chapter.active and chapter.start %} {{ chapter.start|timedelta }} {% endif %}
{% endif %} {% if chapter.start %} {{ chapter.start }} - {{ chapter.end }} {% endif %}
{% endfor %}