<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" data-namespace-typo3-fluid="true">
<f:layout name="Default" />

<f:section name="content">
    <div>
        <f:if condition="{reservations}">
            <f:then>
                <div class="ig-reservations-approval-list frame-space-after-small">
                    <f:render partial="Reservation/{reservations.0.event.calendar.calendarType.partial}/MyReservations" arguments="{_all}" />
                </div>
            </f:then>
            <f:else>
                <p><f:translate key="no-reservations" /></p>
            </f:else>
        </f:if>
        <f:if condition="{settings.calendarPageUid}">
            <div class="back-link frame-space-before-small">
                <f:link.page pageUid="{settings.calendarPageUid}"><f:translate key="to-calendar" /></f:link.page>
            </div>
        </f:if>
    </div>
</f:section>

</html>
