<@pageContainer> <@pageColumn> <@pageHeader title='#i18n{appointment.manage.appointmentforms.title}' class='col-md-8'> <#if permission_create=="true"><@aButton href='jsp/admin/plugins/appointment/ManageAppointmentForms.jsp?view=createAppointmentForm' buttonIcon='plus' color='primary' title='#i18n{appointment.manageAppointmentForms.buttonAdd}' /> <@messages errors=errors warnings=warnings infos=infos /> <#if appointmentform_list?has_content> <@manageFeature> <#list appointmentform_list as appointmentform> <@manageFeatureItem> <@manageFeatureItemColumn auto=true flex=false> <#if appointmentform.isActive><@tag color='success' class='me-1'><@icon style='check' /><#else><@tag color='danger' class='me-1'><@icon style='times' /> <#if permissions[appointmentform?index][0]=="true"><@link href='jsp/admin/plugins/appointment/ManageAppointments.jsp?view=viewCalendarManageAppointment&id_form=${appointmentform.idForm}' label=appointmentform.title! /><#else>${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=['xs','md'] size='' 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=['xs','md'] buttonIcon='calendar' size='' /> <#if permissions[appointmentform?index][1]=="true"> <@aButton href='jsp/admin/plugins/appointment/ManageAppointmentSlots.jsp?view=manageTypicalWeek&id_form=${appointmentform.idForm}' title='#i18n{appointment.manageAppointmentForms.labelPlanning}' hideTitle=['xs','md'] buttonIcon='clock' size='' /> <@aButton dropdownMenu=true title='#i18n{portal.util.labelActions}' color='link' hideTitle=['all'] buttonIcon='dots-vertical'> <#if permissions[appointmentform?index][2]=="true"> <@link class='dropdown-item' linkIcon='settings' 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' linkIcon='message' 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' linkIcon='copy' 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 text-warning' linkIcon='x' href='jsp/admin/plugins/appointment/ManageAppointmentForms.jsp?action=doChangeFormActivation&id_form=${appointmentform.idForm}' label='#i18n{appointment.manageAppointmentForms.labelDisable}' /> <#else> <@link class='dropdown-item text-success' linkIcon='check' 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 text-danger' linkIcon='trash' href='jsp/admin/plugins/appointment/ManageAppointmentForms.jsp?action=confirmRemoveAppointmentForm&id_form=${appointmentform.idForm}' label='#i18n{portal.util.labelDelete}' /> <#if appointmentform_list?size gte 10><@paginationAdmin paginator=paginator combo=1 /> <#else> <@card> <#if permission_create=="true"> <@empty title='#i18n{appointment.manage.appointmentforms.empty}' iconName='calendar-off' actionTitle='#i18n{appointment.manageAppointmentForms.buttonAdd}' actionUrl='jsp/admin/plugins/appointment/ManageAppointmentForms.jsp?view=createAppointmentForm' /> <#else> <@empty title='#i18n{appointment.manage.appointmentforms.empty}' iconName='calendar-off' />