<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.hasPermission calendar="{calendar}" permission="team">
    <f:if condition="{settings.unapprovedListPageUid} && {eventsToApproveCount}">
      <div class="unassigned-events-link frame-space-after-small{f:if(condition: usePaddings, then: ' frame frame-default')}">
        <f:link.page pageUid="{settings.unapprovedListPageUid}" class="link-button"><f:translate key="events.unapproved" /> ({eventsToApproveCount})</f:link.page>
        <f:if condition="{eventClipboard}">
            <f:link.action class="link-button" action="uncut" controller="Event" arguments="{event: eventClipboard}"><core:icon identifier="actions-edit-cut-release" size="small" alternativeMarkupIdentifier="inline" />Ausschneiden abbrechen</f:link.action>
        </f:if>
      </div>
    </f:if>
  </cal:calendar.hasPermission>

</html>
