{% if courses.in_catalog.any? %}
  <div class=" row">
	{% for course in courses.in_catalog %}
	  {% if current_person.signed_in? %}
		{% if omni %}
		  {% if course.name contains 'Omni' %}
			<div class="col-xs-12 col-md-6 col-lg-4 np-stretch-content">
			  {% include "cards_course" with course %}
			</div>
		  {% endif %}
		{% elsif core %}
		  {% if course.name contains 'Core' %}
			<div class="col-xs-12 col-md-6 col-lg-4 np-stretch-content">
			  {% include "cards_course" with course %}
			</div>
		  {% endif %}
		{% endif %}
	  {% else %}
		<div class="col-xs-12 col-md-6 col-lg-4 np-stretch-content">
		  {% include "cards_course" with course %}
		</div>
		{% endif %}
    {% endfor %}
  </div>
{% else %}
  {% capture message %}
    {% t shared.zero_state.courses.catalog,
      key: current_school.course_vocabulary
    %}
  {% endcapture %}
  {% include "courses_zero_state", message: message %}
{% endif %}
