<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" xmlns:cal="http://typo3.org/ns/Ig/IgReservations/ViewHelpers" xmlns:core="http://typo3.org/ns/TYPO3/CMS/Core/ViewHelpers" data-namespace-typo3-fluid="true">
<cal:calendar.isAdmin calendar="{calendar}">
    <f:then>
        <f:comment>*** Admin ***</f:comment>
        <span class="entry-reservation{f:if(condition: reservation.name, then: ' entry-reservation-guest')}{f:if(condition: reservation.isMe, then: ' entry-reservation-me')}" title="{reservation.frontendUser.lastName} {reservation.frontendUser.firstName}{f:if(condition: reservation.name, then: '
Gast: {reservation.name}')}{f:if(condition: reservation.frontendUser.address, then: '
{reservation.frontendUser.address}')}{f:if(condition: reservation.frontendUser.city, then: '
{reservation.frontendUser.zip} {reservation.frontendUser.city}')}{f:if(condition: reservation.frontendUser.email,then: '
E-Mail: {reservation.frontendUser.email}')}{f:if(condition: reservation.frontendUser.telephone, then: '
Tel: {reservation.frontendUser.telephone}')}"></span>
    </f:then>
    <f:else>
        <f:if condition="{reservation.isMe}">
            <f:then>
                <span class="entry-reservation entry-reservation-me" title="{reservation.frontendUser.lastName} {reservation.frontendUser.firstName}"></span>
            </f:then>
            <f:else>
                <span class="entry-reservation" title="Reserviert"></span>
            </f:else>
        </f:if>
    </f:else>
</cal:calendar.isAdmin>

</html>
