<#if nb_week > 0>
#if>
<#if nb_week < form.nbWeeksToDisplay>
#if>
|
<#list list_time_begin as time_begin>
${time_begin}
|
#list>
|
<#list listDays as day>
#i18n{${list_days_of_week[day_index]}}
${day.date}
|
<#if day.isOpen>
<#assign rowspan=day.appointmentDuration/min_duration_appointments>
<#assign first_slot = day.listSlots?first>
<#if first_slot.startingHour < 10>
<#assign first_time = '0' + first_slot.startingHour + 'h'>
<#else>
<#assign first_time = first_slot.startingHour + 'h'>
#if>
<#if first_slot.startingMinute < 10>
<#assign first_time = first_time + '0' + first_slot.startingMinute>
<#else>
<#assign first_time = first_time + first_slot.startingMinute>
#if>
<#list list_time_begin as time_begin>
<#if time_begin != first_time>
|
<#else>
<#break>
#if>
#list>
<#list day.listSlots as slot>
<#if slot.isEnabled>
<#if slot.nbFreePlaces > 0>
#i18n{appointment.appointmentCalendar.makeAppointment}
<@getCellTooltip appointmentSlot=slot />
|
<#else>
#i18n{appointment.appointmentCalendar.labelSlotFull}
<@getCellTooltip appointmentSlot=slot />
|
#if>
<#else>
<@getCellTooltip appointmentSlot=slot />
|
#if>
#list>
<#else>
<#list list_time_begin as time_begin>
|
#list>
#if>
|
#list>