{% for course in courses.enrolled %}
    {% if course.progress == 100 and course.properties.badge_course == true %}
        <div class="card-wrapper">
            <div class="card">
                <div class="lp-link">
                    <div class="card-badge">
                        <img
                        alt=""
                        {% if course.name contains 'Omni' %}
                            src="https://s3.amazonaws.com/static.northpass.com/Cin7/badges/academy-badge_omni.png"
                            {% elsif course.name contains 'Core' %}
                                src="https://s3.amazonaws.com/static.northpass.com/Cin7/badges/academy-badge_core.png"
                        {% endif %}
                        class="badge-card-image"
                         />
                    </div>
                    <div class="card-content card-content-badge">
                        <h3 class="card-content-title course-name">
                        {% if course.name contains 'Omni' %}Omni{% elsif course.name contains 'Core' %}Core{% endif %} Course Completed
                        </h3>
                    </div>
                </div>
            </div>
        </div>
    {% endif %}
{% endfor %}

