<pad-if _:if:_="config->showELearning" _:if-1:_="dayPart->eLearning">
    <li>
        {{dayPart->name}}<pad-if _:if:_="validStartDate"> actief vanaf <pad-utility-date _:time:_="dayPart->startTime" format="d-m-Y"/></pad-if>

        <div class="pad-courseelearning-detail" title="{{_'cursus bevat elearning'}}">
            <i class="fas fa-graduation-cap"></i>{{_"e-learning"}}
        </div>

        <pad-if _:if:_="config->showLabels" _:if-1:_="dayPart->labels">
            <div class="padday-labels" title="dagdeel heeft deze labels">
                <i class="fas fa-tags fa-fw"></i> <pad-for _:in:_="dayPart->labels" as="label" implode=", ">{{label}}</pad-for>
            </div>
        </pad-if>
    </li>
</pad-if>

<pad-if _:if:_="dayPart->eLearning" not>
    <li>
        {{dayPart->name}}<pad-if _:if:_="validStartDate"> op <pad-utility-date _:time:_="dayPart->startTime" format="d-m-Y"/></pad-if>
        van <pad-utility-date _:time:_="dayPart->startTime" format="H:i"/>
        tot <pad-utility-date _:time:_="dayPart->endTime" format="H:i"/>
        <pad-if _:if:_="config->showLocation" _:if-2:_="location">
            <pad-utility-user_text_template _:data:_="locationTemplateData" _:template:_="config->locationTemplate"/>
        </pad-if>

        <pad-if _:if:_="config->showLabels" _:if-1:_="dayPart->labels">
            <div class="padday-labels" title="dagdeel heeft deze labels">
                <i class="fas fa-tags fa-fw"></i> <pad-for _:in:_="dayPart->labels" as="label" implode=", ">{{label}}</pad-for>
            </div>
        </pad-if>
    </li>
</pad-if>