<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" xmlns:ig="http://typo3.org/ns/Internetgalerie/IgRender/ViewHelpers" data-namespace-typo3-fluid="true">
        <f:if condition="!{event.reservations}">
            <cal:calendar.hasPermission calendar="{event.calendar}" permission="read">
                <f:then></f:then>
                <f:else>
                    <cal:calendar.hasPermission calendar="{event.calendar}" permission="admin,team">
                        <f:link.action pageUid="{settings.unapprovedListPageUid}" pluginName="EventTodo" controller="Event" action="edit" controller="Event" arguments="{event: event}" class="link-button">
                          <core:icon identifier="actions-open" size="small" alternativeMarkupIdentifier="inline" /><span class="label">
                        <f:translate key="events.edit" /></span>
                        </f:link.action>


                	    <f:link.action pageUid="{settings.unapprovedListPageUid}" pluginName="EventTodo" controller="Event" action="deleteConfirm" controller="Event" arguments="{event: event, source: source}" class="link-button">
                	      <core:icon identifier="actions-delete" size="small" alternativeMarkupIdentifier="inline" /><span class="label">
                		<f:translate key="events.delete" /></span>
                	    </f:link.action>
                    </cal:calendar.hasPermission>
                </f:else>
            </cal:calendar.hasPermission>
        </f:if>
</html>
