<div class="rui-course-card rui-course-list rui-course-card--noimg rui-progress-{{progress}} mb-2" role="listitem" data-region="course-content" data-course-id="{{{id}}}">

    <div class="rui-course-card-wrapper">

        <div class="rui-course-card-body">
            <div class="d-flex flex-wrap">
                <span class="sr-only">
                    {{#str}}aria:coursecategory, core_course{{/str}}
                </span>

                {{^visible}}
                    <div class="d-inline-flex flex-wrap mb-2">
                        <span class="rui-course-hidden-badge">
                            <svg class="mr-1" width="16" height="16" fill="none" viewBox="0 0 24 24">
                                <path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M18.6247 10C19.0646 10.8986 19.25 11.6745 19.25 12C19.25 13 17.5 18.25 12 18.25C11.2686 18.25 10.6035 18.1572 10 17.9938M7 16.2686C5.36209 14.6693 4.75 12.5914 4.75 12C4.75 11 6.5 5.75 12 5.75C13.7947 5.75 15.1901 6.30902 16.2558 7.09698"></path>
                                <path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19.25 4.75L4.75 19.25"></path>
                                <path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M10.409 13.591C9.53033 12.7123 9.53033 11.2877 10.409 10.409C11.2877 9.5303 12.7123 9.5303 13.591 10.409"></path>
                            </svg>
                            {{#str}} hiddenfromstudents {{/str}}
                        </span>
                    </div>
                {{/visible}}

            </div>
            <div class="d-flex flex-wrap mb-0 w-100 justify-content-between">
                <div class="col-12 col-md px-0 d-flex flex-wrap">
                    <h4 class="rui-course-list-title mb-0 d-inline-flex align-items-center w-100">
                        <a href="{{config.wwwroot}}/course/view.php?id={{{id}}}"" class=" aalink coursename">
                            <span class="sr-only">
                                {{#str}}aria:coursename, core_course{{/str}}
                            </span>
                            {{{fullname}}}
                        </a>

                        {{#forcedlanguage}}
                            <div class="rui-course-card-icons--right rui-course-lang">
                                <div class="rui-icon-container">{{forcedlanguage}}</div>
                            </div>
                        {{/forcedlanguage}}
                    </h4>

                    <div class="rui-course-cat-badge mt-2 d-grid">
                        <div class="text-truncate">{{{category}}}</div>
                    </div>

                    {{#cccteachers}}
                        {{#hascontacts}}
                            <div class="rui-card-course-contacts mt-2 mb-0 px-0">
                                {{#contacts}}
                                    <a href="{{config.wwwroot}}/user/profile.php?id={{{id}}}" class="rui-card-contact rui-user-{{{role}}} rui-tooltip" role="button" data-title="{{{fullname}}} - {{{role}}}">
                                        <img src="{{{userpicture}}}" class="rui-card-avatar" alt="{{{fullname}}}" />
                                    </a>
                                {{/contacts}}
                            </div>
                        {{/hascontacts}}
                    {{/cccteachers}}

                </div>

                <div class="d-inline-flex align-items-start">
                    {{#hasenrolmenticons}}
                        <div class="rui-course-card-icons mt-3 mt-md-0 mr-0 ml-md-6">
                            {{#enrolmenticons}}
                                <div class="rui-icon-container">
                                    {{{.}}}
                                </div>
                            {{/enrolmenticons}}
                        </div>
                    {{/hasenrolmenticons}}
                </div>

            </div>
            {{#showcustomfields}}
                        {{{customfields}}}
                    {{/showcustomfields}}
        </div>
    </div>
</div>