<tr>
    <td>
        <pad-course-detail_link pad-template="linkOnly">
            {{course->name}}
            <pad-if _:if:_="availableSpots" equals="0">
                <div class="pad-full">
                    ( {{_"Cursus is vol"}} )
                </div>
            </pad-if>
        </pad-course-detail_link>
    </td>

    <td>
        <pad-utility-date _:time:_="course->earliestDayPart->startTime" fallback="-"/>
    </td>

    <pad-if _:if:_="config->showDayPartsCount">
        <td>
            <pad-course-day_part_amount _:include-e-learning:_="config->includeELearningDayParts" />
        </td>
    </pad-if>

    <pad-if _:if:_="config->showLocation">
        <td>
            <pad-if _:if:_="course->earliestDayPart->locations->0">
                <pad-utility-user_text_template _:data:_="locationTemplateData" _:template:_="config->locationTemplate"/>
            </pad-if>
            <pad-if _:if:_="course->earliestDayPart->locations->0" not>
                -
            </pad-if>
        </td>
    </pad-if>

    <pad-if _:if:_="config->showPrice">
        <td>
            <pad-utility-price _:data:_="course->costsData" both="0" pp="1" _:tax:_="config->withTax"/>
        </td>
    </pad-if>

    <pad-if _:if:_="config->showDetailButton">
        <td class="pad-button" title="{{_'Bekijk details van deze cursus'}}">
            <pad-course-detail_link pad-template="button"/>
        </td>
    </pad-if>
</tr>