<@box color='primary' style='solid' id='appointment_dashboard_card'> <@boxHeader title='#i18n{appointment.manage.appointmentforms.title}'> <#if permission_create=="true"> <@aButton href='jsp/admin/plugins/appointment/ManageAppointmentForms.jsp?view=createAppointmentForm' title='#i18n{appointment.manageAppointmentForms.buttonAdd}' hideTitle=['all'] buttonIcon='plus-square' size='sm' /> <@button type='button' style='card-control collapse' buttonIcon='minus' buttonTargetId='#appointment_dashboard_card_body' size='sm' /> <@button style='card-control remove' buttonTargetId='#appointment_dashboard_card' buttonIcon='times' size='sm' /> <@boxBody class='table-responsive' id='appointment_dashboard_card_body'> <@table> #i18n{appointment.labelTitle} #i18n{portal.util.labelActions} <#list appointmentform_list as appointmentform > <#if appointmentform.isActive> <@tag color='success'><@icon style='check' /> <#else> <@tag color='danger'><@icon style='times' />  ${appointmentform.title} <#if appointmentform.isActive> <@icon style='globe' /> <#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"> <@aButton href='jsp/admin/plugins/appointment/ManageAppointmentSlots.jsp?view=manageTypicalWeek&id_form=${appointmentform.idForm}' title='#i18n{appointment.manageAppointmentForms.labelPlanning}' hideTitle=['all'] buttonIcon='clock-o' size='sm' /> <#if permissions[appointmentform?index][2]=="true"> <@aButton href='jsp/admin/plugins/appointment/ManageAppointmentForms.jsp?view=modifyAppointmentForm&id_form=${appointmentform.idForm}"' title='#i18n{appointment.manageAppointmentForms.labelConfig}' hideTitle=['all'] buttonIcon='wrench' size='sm' /> <#if permissions[appointmentform?index][3]=="true"> <@aButton href='jsp/admin/plugins/appointment/ManageAppointmentForms.jsp?view=modifyAppointmentFormMessages&id_form=${appointmentform.idForm}' title='#i18n{appointment.manageAppointmentForms.labelModifyMessages}' hideTitle=['all'] buttonIcon='comment' size='sm' /> <#if permission_create=="true"> <@aButton href='jsp/admin/plugins/appointment/ManageAppointmentForms.jsp?action=doCopyAppointmentForm&id_form=${appointmentform.idForm}' title='#i18n{appointment.manageAppointmentForms.labelCopy}' hideTitle=['all'] buttonIcon='copy' size='sm' /> <#if permissions[appointmentform?index][4]=="true"> <#if appointmentform.isActive> <@aButton href='jsp/admin/plugins/appointment/ManageAppointmentForms.jsp?action=doChangeFormActivation&id_form=${appointmentform.idForm}' title='#i18n{appointment.manageAppointmentForms.labelDisable}' hideTitle=['all'] buttonIcon='stop' color='danger' size='sm' /> <#else> <@aButton href='jsp/admin/plugins/appointment/ManageAppointmentForms.jsp?action=doChangeFormActivation&id_form=${appointmentform.idForm}' title='#i18n{appointment.manageAppointmentForms.labelEnable}' hideTitle=['all'] buttonIcon='check' color='success' size='sm' /> <#if permissions[appointmentform?index][5]=="true"> <@aButton href='jsp/admin/plugins/appointment/ManageAppointmentForms.jsp?action=confirmRemoveAppointmentForm&id_form=${appointmentform.idForm}' title='#i18n{portal.util.labelDelete}' buttonIcon='trash' hideTitle=['all'] color='danger' size='sm' /> <@boxFooter align='center'> #i18n{appointment.dashboard.formList} <@icon style='arrow-circle-right' />