<pad-if _:if:_="courses">
    <pad-course-list_tag pad-template='{{template}}' _:courses:_="courses"/>
</pad-if>
<pad-if not _:if:_="courses">
    <div>
        <pad-if _:if:_="hasSearch">
            {{_config->noResultsText}}
        </pad-if>
        <pad-if not _:if:_="hasSearch">
            <pad-if _:if:_="searchBehaviour" equals="2">
                {{_config->noSearchText}}
            </pad-if>
            <pad-if not _:if:_="searchBehaviour" equals="2">
                {{_config->noCourseText}}
            </pad-if>
        </pad-if>
    </div>
</pad-if>