<div>
    <pad-if _:if:_="hasPastDayParts">
        <div class='pad-info'>{{_"Let op: Deze cursus bevat"}} {{config->dayPartText}} {{_"in het verleden"}} .</div>
    </pad-if>

    <h2 class="pad-title">{{course->name}}</h2>

    <pad-if _:if:_="availableSpots" equals="0">
        <div class="pad-detail-full">
            <pad-if _:if:_="config->showIcon">
                <i class="fas fa-exclamation-triangle fa-fw"></i>
            </pad-if>
            {{_"Cursus is vol"}}
        </div>
    </pad-if>

    <pad-if _:if:_="config->showAvailableSpots">
        <div class="pad-detail-available">
            <pad-if _:if:_="config->showIcon">
                <i class="fas fa-user-cog fa-fw"></i>
            </pad-if>
            {{_"Beschikbare plaatsen"}}: <span>{{availableSpots}}</span>
        </div>
    </pad-if>

    <pad-if _:if:_="config->showLevel">
        <div class="pad-detail-niveau">
            <pad-if _:if:_="config->showIcon">
                <i class="fas fa-clipboard-list fa-fw"></i>
            </pad-if>
            {{_"Niveau"}}: <span>{{course->level}}</span>
        </div>
    </pad-if>

    <pad-if _:if:_="config->showPrice">
        <div class="pad-detail-costs">
            <pad-if _:if:_="config->showIcon">
                <i class="fas fa-money-bill fa-fw"></i>
            </pad-if>
            {{_"Prijs"}}:
            <pad-utility-price _:data:_="course->costsData" _:both:_="config->showBothWithAndWithoutTax" pp="1" _:tax:_="config->withTax"/>
        </div>
    </pad-if>

    <pad-if _:if:_="config->showDayPartsDetail">
        <div class="pad-detail-amount">
            <pad-if _:if:_="config->showIcon">
                <i class="fas fa-recycle fa-fw"></i>
            </pad-if>
            {{_"Bestaat uit"}} {{dayPartCount}} {{config->dayPartText}}
        </div>
    </pad-if>

    <pad-if _:if:_="config->showCourseElearning" _:if-1:_="course->hasELearning">
        <div class="pad-detail-courseelearning" title="{{_'cursus bevat elearning'}}">
            <pad-if _:if:_="config->showIcon">
                <i class="fas fa-book"></i>
            </pad-if>
            {{_"e-learning"}}
        </div>
    </pad-if>

    <pad-if _:if:_="config->showGaranteedStart" _:if-1:_="course->startGuaranteed">
        <div class="pad-detail-garanteed">
            <pad-if _:if:_="config->showIcon">
                <i class="fas fa-check fa-fw"></i>
            </pad-if>
            {{_"Start garantie"}}
        </div>
    </pad-if>

    <pad-if _:if:_="config->showMoneyBack" _:if-1:_="course->moneyBackGuaranteed">
        <div class="pad-detail-moneygaranteed" title="{{_'niet goed, geld terug garantie!'}}">
            <pad-if _:if:_="config->showIcon">
                <i class="fas fa-money-bill-alt"></i>
            </pad-if>
            {{_"Geld terug garantie"}}
        </div>
    </pad-if>

    <pad-if _:if:_="config->showSoobDetail" _:if-1:_="course->hasSoob">
        <div class="pad-detail-soob" title="{{_'cursus heeft soob subsidie'}}">
            <pad-if _:if:_="config->showIcon">
                <i class="fas fa-truck fa-fw"></i>
            </pad-if>
            {{_"SOOB Subsidie"}}
        </div>
    </pad-if>

    <pad-if _:if:_="config->showCode95" _:if-1:_="course->hasCode95">
        <div class="pad-detail-code95" title="{{_'cursus bevat code95'}}">
            <pad-if _:if:_="config->showIcon">
                <i class="fas fa-clock fa-fw"></i>
            </pad-if>
            {{_"Code95"}}
        </div>
    </pad-if>

    <pad-if _:if:_="config->showLabels" _:if-1:_="course->labels">
        <div class="pad-detail-labels" title="{{_'cursus heeft deze labels'}}">
            <pad-if _:if:_="config->showIcon">
                <i class="fas fa-tags fa-fw"></i>
            </pad-if>
            <div class='pad-detail-label'>
                <pad-for _:in:_="course->labels" as="label" implode=", ">{{label}}</pad-for>
            </div>
        </div>
    </pad-if>

    <pad-if _:if:_="config->showDescription">
        <div class="pad-detail-description">
            <pad-utility-user_html _:template:_="course->description"/>
        </div>
    </pad-if>

    <pad-if _:if:_="config->showCostRemark">
        <div class="pad-detail-costs-remarks">
            {{course->costsData->remark}}
        </div>
    </pad-if>

    <pad-if _:if:_="config->showDayPartList">
        <pad-course-details-daypart_list/>
    </pad-if>
    <div style="clear: both"></div>
</div>
