<@cTpl> <#assign formTitle><#if form.displayTitleFo && form.title != ''>${form.title}<#else>#i18n{appointment.appointmentApp.defaultTitle} <@cStepDone step='1' title=formTitle idx=1 actionName=''> ${form.description!} <@cStepDone step='2' title='#i18n{appointment.appointmentApp.choiceOfDate}' idx=2 actionName=''> <@chList> <@chItem>#i18n{appointment.labelThe} ${dateAppointment} #i18n{appointment.labelFrom} ${startingTimeAppointment} #i18n{appointment.labelTo} ${endingTimeAppointment} <@cStepDone step='3' title='#i18n{appointment.appointmentApp.enteringInformation}' idx=3 actionName=''> <@chList> <@chItem>${formMessages.fieldLastNameTitle!} : ${user.lastName?html} <@chItem>${formMessages.fieldFirstNameTitle!} : ${user.firstName?html} <#if user.email?has_content> <@chItem>${formMessages.fieldEmailTitle!} : ${user.email?html} <#if nbplaces gt 1> <@chItem>#i18n{appointment.createAppointmentForm.labelNumberOfBookedseatsPerAppointment} : ${nbplaces} <#list listResponseRecapDTO as response> <#if response.recapValue?? && response.recapValue?has_content> <#if !(entrySave??) || entrySave.idEntry != response.entry.idEntry> <#assign entrySave = response.entry> <@chItem>${response.entry.title} : ${response.recapValue} <@cStepDone step='4' title='#i18n{appointment.appointmentApp.validation}' idx=4 actionName='' /> <@cStepDone step='5' title='#i18n{appointment.appointmentApp.confirmation}' idx=5 actionHref='${formMessages.urlRedirectAfterCreation}' actionLabel='${formMessages.labelButtonRedirection}'> ${formMessages.textAppointmentCreated} <#if calendarButton?? && calendarLinks??> <#include "/skin/plugins/appointment/calendar_button_icons.html" /> <#assign calendarStyleClass><#if calendarButton.buttonStyle == 'bootstrap'>btn btn-${calendarButton.color}<#else>appt-cal-btn appt-cal-style-${calendarButton.buttonStyle} <#assign calendarButtonText><#if calendarButton.label?has_content><#outputformat "HTML">${calendarButton.label}<#else>#i18n{appointment.appointmentApp.addToCalendar} <#macro calendarLink option url class> ${url}"<#if !['apple', 'ical']?seq_contains(option)> target="_blank" rel="noopener"><#if calendarButton.showLinkIcons><@calendarButtonIcon name=option />#i18n{appointment.calendarButton.options.${option}} <#macro calendarMenu toggleLabel toggleClass> <@cDropdown label=toggleLabel btnClass=toggleClass> <#list calendarLinks as calendarOption, calendarUrl>
  • <@calendarLink option=calendarOption url=calendarUrl class='dropdown-item' />
  • <@cRow class='my-3'> <@cCol class='d-flex justify-content-center'>
    <#if calendarButton.displayMode == 'buttons'>
    <#list calendarLinks as calendarOption, calendarUrl> <@calendarLink option=calendarOption url=calendarUrl class=calendarStyleClass />
    <#elseif calendarButton.displayMode == 'calendar'>
    ${formTitle}
    <#if calendarEvent.location?has_content>
    <@calendarButtonIcon name='location' /><#outputformat "HTML">${calendarEvent.location}
    <@calendarButtonIcon name='clock' />${dateAppointment}, ${startingTimeAppointment} - ${endingTimeAppointment}
    <#assign calendarPlusLabel><@calendarButtonIcon name='plus' />${calendarButtonText} <@calendarMenu toggleLabel=calendarPlusLabel toggleClass='link appt-cal-plus' />
    <#else> <#assign calendarDropdownLabel><#if calendarButton.showButtonIcon><@calendarButtonIcon name='calendar' />${calendarButtonText} <@calendarMenu toggleLabel=calendarDropdownLabel toggleClass=(calendarButton.buttonStyle == 'bootstrap')?then(calendarButton.color, 'link ' + calendarStyleClass) />
    <#if calendarButton.displayMode != 'buttons'>