<@adminDashboardWidget title='#i18n{appointment.manage.appointmentforms.title}' id='appointment_dashboard_card' url=url> <#if appointmentform_list?has_content> <@manageFeature> <#list appointmentform_list as appointmentform> <@manageFeatureItem> <@manageFeatureItemColumn auto=true flex=false> <#if appointmentform.isActive><@tag color='success'><@icon style='check' /><#else><@tag color='danger'><@icon style='times' /> ${appointmentform.title} <@manageFeatureItemColumn align='end'> <#if appointmentform.isActive> <@aButton href='${baseUrl!}jsp/site/Portal.jsp?page=appointment&view=getViewAppointmentCalendar&id_form=${appointmentform.idForm}' target='_blank' buttonIcon='calendar-share' title='#i18n{appointment.manageAppointmentForms.labelViewCalendar}' hideTitle=['all'] size='sm' color='outline-secondary' /> <#if permissions[appointmentform?index][0]=="true"> <@aButton href='jsp/admin/plugins/appointment/ManageAppointments.jsp?view=viewCalendarManageAppointment&id_form=${appointmentform.idForm}' title='#i18n{appointment.manageAppointmentForms.labelManageAppointments}' hideTitle=['all'] buttonIcon='calendar' size='sm' /> <#if permissions[appointmentform?index][1]=="true"> <#if appointment_desk_available?? && appointment_desk_available> <#assign manageUrl='jsp/admin/plugins/appointment/modules/desk/ManageAppointmentDesks.jsp?plugin_name=appointment-desk&id_form=' /> <#else> <#assign manageUrl='jsp/admin/plugins/appointment/ManageAppointmentSlots.jsp?view=manageTypicalWeek&id_form=' /> <@aButton href='${manageUrl}${appointmentform.idForm}&context=slot' title='#i18n{appointment.manageAppointmentForms.labelPlanning}' hideTitle=['all'] buttonIcon='clock' size='sm' /> <@aButton dropdownMenu=true title='#i18n{portal.util.labelActions}' color='action' hideTitle=['all'] buttonIcon='dots-vertical' size='sm'> <#if permissions[appointmentform?index][2]=="true"> <@link class='dropdown-item' href='jsp/admin/plugins/appointment/ManageAppointmentForms.jsp?view=modifyAppointmentForm&id_form=${appointmentform.idForm}' label='#i18n{appointment.manageAppointmentForms.labelConfig}' /> <#if permissions[appointmentform?index][3]=="true"> <@link class='dropdown-item' href='jsp/admin/plugins/appointment/ManageAppointmentForms.jsp?view=modifyAppointmentFormMessages&id_form=${appointmentform.idForm}' label='#i18n{appointment.manageAppointmentForms.labelModifyMessages}' /> <#if permission_create=="true"> <@link class='dropdown-item' href='jsp/admin/plugins/appointment/ManageAppointmentForms.jsp?action=doCopyAppointmentForm&id_form=${appointmentform.idForm}' label='#i18n{appointment.manageAppointmentForms.labelCopy}' /> <#if permissions[appointmentform?index][4]=="true"> <#if appointmentform.isActive> <@link class='dropdown-item' href='jsp/admin/plugins/appointment/ManageAppointmentForms.jsp?action=doChangeFormActivation&id_form=${appointmentform.idForm}' label='#i18n{appointment.manageAppointmentForms.labelDisable}' /> <#else> <@link class='dropdown-item' href='jsp/admin/plugins/appointment/ManageAppointmentForms.jsp?action=doChangeFormActivation&id_form=${appointmentform.idForm}' label='#i18n{appointment.manageAppointmentForms.labelEnable}' /> <#if permissions[appointmentform?index][5]=="true"> <@link class='dropdown-item' href='jsp/admin/plugins/appointment/ManageAppointmentForms.jsp?action=confirmRemoveAppointmentForm&id_form=${appointmentform.idForm}' label='#i18n{portal.util.labelDelete}' /> <#else> <@empty title='#i18n{appointment.manage.appointmentforms.empty}' iconName='calendar-off' />