@cTpl> <#assign items_time= [ { "code":"06:00", "name":"06h00"}, { "code":"09:00", "name":"09h00"}, { "code":"12:00", "name":"12h00"}, { "code":"15:00", "name":"15h00"}, { "code":"18:00", "name":"18h00"}, { "code":"21:00", "name":"21h00"} ]> <#assign items_minutes= [ { "code": "360", "name":"06h00"}, { "code": "540", "name":"09h00"}, { "code": "720", "name":"12h00"}, { "code": "900", "name":"15h00"}, { "code":"1080", "name":"18h00"}, { "code":"1260", "name":"21h00"} ]> <#assign categoryParam><#if category??>&category=${category?url('UTF-8')}#if>#assign> <#assign nbSlots = (nb_consecutive_slots!'1')?url('UTF-8')> <#macro timeSelect name items value label> <@cSelect name=name id=name params='aria-label="${label}"'> <#list items as item> <@cOption label=item.name value=item.code selected=(value == item.code) /> #list> @cSelect> #macro> <#macro quickSearch days label> <@cForm action='jsp/site/Portal.jsp' class='d-inline-block'> <@cInput type='hidden' name='page' id='quick_${days}_page' value='appointmentsearch' class='' /> <#if category??><@cInput type='hidden' name='category' id='quick_${days}_category' value=category?html class='' />#if> <@cInput type='hidden' name='to_date' id='quick_${days}_to_date' value=(.now?long + days * 86400000)?number_to_date?string('dd/MM/yyyy') class='' /> <@cBtn label=label type='submit' class='primary btn-sm' params='name="view_search"' /> @cForm> #macro>
#i18n{module.appointment.solrsearchapp.displayAvailableSlots}
#i18n{module.appointment.solrsearchapp.mapAvailableForBigScreen}
<#else> <@cTitle level=3 class='text-warning mb-4 fs-3'><@cIcon name='alert-triangle' class='me-1' /> #i18n{module.appointment.solrsearchapp.noMoreAvailableSlots}@cTitle> #if> #list> #if>${first.appointmentslot_address_text?html}
#if>#i18n{module.appointment.solrsearchapp.nextAvailableSlots} :
${group.result.numFound - group.result.list?size} #i18n{module.appointment.solrsearchapp.otherAvailableSchedules}
<@cBtn label='#i18n{module.appointment.solrsearchapp.completeSchedule}' class='primary btn-sm' id='link_${groupId}_full_calendar' href='${first.url_form_string?html}&nbPlacesToTake=${nbSlots}' />