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

  <div class="ig-reservations-calendar-table-fullcalendar  ym-grid block-left">
    <div
        id='calendar'
        data-after-booking-redirect-url="{f:if(condition: settings.afterBookingRedirectPageUid, then: '{f:uri.page(pageUid: settings.afterBookingRedirectPageUid)}')}"
        data-event-source-url="{f:uri.action(pageType: 9190501, action: 'getEvents', pluginName: 'Ajax', controller: 'Ajax', pageUid: settings.calendarAjaxPageUid)}"
        data-calendar-uid="{calendar.uid}"
        data-search-date="{search.date}" 
        data-calendar-acl="{aclJson}"
        data-calendar-conf="{calendar.rawFullCalendar->f:format.json()}"
        data-is-admin="{cal:calendar.isAdmin(calendar: calendar,then: 1,else: 0)}"
        data-calendar-has-permission-read="{cal:calendar.hasPermission(calendar: calendar, permission: 'read',then: 1,else: 0)}"
        data-calendar-has-permission-team="{cal:calendar.hasPermission(calendar: calendar, permission: 'team',then: 1,else: 0)}"
        data-calendar-has-permission-user="{cal:calendar.hasPermission(calendar: calendar, permission: 'user',then: 1,else: 0)}"
        data-calendar-permissions="{calendar.permissions->f:format.json()}"
        data-calendar-fullcalendar-settings="{calendar.fullcalendarSettings->f:format.json()}"
        data-label-toastr-minimum-block-duration-title="{f:translate(key: 'toastr.minimum_block_duration.title')}"
        data-label-toastr-minimum-block-duration-message="{f:translate(key: 'toastr.minimum_block_duration.message', arguments: '{0: calendar.acl.minimumBlockDuration}')}"
        data-label-toastr-maximum-block-duration-title="{f:translate(key: 'toastr.maximum_block_duration.title')}"
        data-label-toastr-maximum-block-duration-message="{f:translate(key: 'toastr.maximum_block_duration.message', arguments: '{0: calendar.acl.maximumBlockDuration}')}"
        data-bookable="{cal:calendar.hasPermission(calendar: calendar, permission: 'event-reservation-add',then: 1,else: 0)}">
    </div>


    
  </div>

</html>
