<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" xmlns:cal="http://typo3.org/ns/Ig/IgReservations/ViewHelpers" xmlns:ri="http://typo3.org/ns/Ig/IgResponsiveImages/ViewHelpers" xmlns:core="http://typo3.org/ns/TYPO3/CMS/Core/ViewHelpers" data-namespace-typo3-fluid="true">
<f:layout name="Default" />

<f:section name="content">

    <f:render partial="Calendar/EventsToApprove" arguments="{calendar:calendars.0,eventsToApproveCount: eventsToApproveCount, settings:settings, usePaddings: 1}" />
      <div class="calendar-list">
        <div class="ym-grid block-left ig-equalize-h">
          <f:for each="{calendars}" as="calendar" iteration="it">
              <cal:calendar.hasPermission calendar="{calendar}" permission="team,read">
                  <f:then>
                    <f:render partial="Calendar/ListItem" arguments="{_all}" />
                  </f:then>
                  <f:else>
                      <f:if condition="!{calendar.hideInList}">
                          <f:render partial="Calendar/ListItem" arguments="{_all}" />
                      </f:if>
                  </f:else>
              </cal:calendar.hasPermission>
            </f:for>
        </div>
    </div>
</f:section>

</html>
