{% if courses.enrolled.any? %}
  <div class="row row-with-thumbnails" id="filterProgress">
    {% for course in courses.enrolled %}

      {% comment %} USED FOR PROGRESS FILTER  {% endcomment %}
      {% assign course_status = "" %}

      {% if course.started? == false  %}
         {% assign course_status = "not-started" %}
      {% elsif course.completed?  %}
        {% assign course_status = "completed" %}
      {% elsif course.started?  %}
        {% assign course_status = "in-progress" %}
      {% endif %}

      <div class="{{ class }} {{course_status}}">
        {% include "cards_course" with course %}
      </div>
    {% endfor %}
  </div>
{% else %}
  {% capture message %}
    {% t shared.zero_state.courses.index,
      key: current_school.course_vocabulary
    %}
  {% endcapture %}
  {% include "courses_zero_state", message: message %}
{% endif %}
