{% extends "base.html" %} {% load conditionalcache i18n %} {% block content %}
{% if theme.top_banner %} {{ theme.top_banner_alt }} {% endif %}

{% trans "Courses" %}

{% conditionalcache use_cache 3600 course_list LANGUAGE_CODE %} {% for course in courses %} {% if course.is_public %}
{% else %}
{% trans "Draft" %} {% endif %}

{{ course.name }}

{{ course.description|safe|truncatewords_html:60 }}
{% endfor %} {% endconditionalcache %}
{% if theme.right_banner1 %}
{{ theme.right_banner1_alt }}
{% endif %} {% if theme.right_banner2 %}
{{ theme.right_banner2_alt }}
{% endif %}
{% endblock %}