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

<f:section name="Main">
    <h1>
        <f:translate extensionName="IgReservations" languageKey="{reservation.languageConfig.locale.languageCode}" key="mail.title.after_confirmation_user" />
    </h1>
    <p>
        <f:translate extensionName="IgReservations" languageKey="{reservation.languageConfig.locale.languageCode}" key="mail.text.salutation" />
    </p>
    <f:comment><f:if condition="{event.teammembers}">
        <b><f:translate key="mail.text.teammembers" languageKey="{reservation.languageConfig.locale.languageCode}" extensionName="IgReservations" /></b>
        <p>
            <f:for each="{event.teammembers}" as="teammember" iteration="it">
                {teammember.firstName} {teammember.lastName}<f:if condition="!{it.isLast}"><br /></f:if>
            </f:for>
        </p>
    </f:if></f:comment>
    <p>
        <f:translate extensionName="IgReservations" languageKey="{reservation.languageConfig.locale.languageCode}" key="mail.text.after_confirmation_user" arguments="{0: '{reservation.event.startDateTime->f:format.date(format: \'d.m.Y\')}', 1: '{reservation.event.startDateTime->f:format.date(format: \'H:i\')}', 2: '{reservation.event.endDateTime->f:format.date(format: \'H:i\')}'}" />
    </p>
    <p>
        <f:translate extensionName="IgReservations" languageKey="{reservation.languageConfig.locale.languageCode}" key="mail.text.payment" />
    </p>
    <f:comment><p>
        <f:translate key="mail.text.contact_info" extensionName="IgReservations" languageKey="{reservation.languageConfig.locale.languageCode}" />
    </p></f:comment>
    <br />
    <p>
        <f:translate extensionName="IgReservations" languageKey="{reservation.languageConfig.locale.languageCode}" key="mail.text.check_your_data" />
    </p>
    <br />
    <f:alias map="{showOwner: 1}">
        <f:render partial="IgReservations/Event/UserData" arguments="{_all}" />
    </f:alias>
</f:section>

</html>
