<@adminDashboardWidget title='#i18n{appointment.manage.appointmentforms.title}' id='appointment_dashboard_card' url=url > <@table striped=true condensed=true hover=false > <@tr> <@th>#i18n{appointment.labelTitle} <@th>#i18n{portal.util.labelActions} <#list appointmentform_list as appointmentform > <@tr> <@td> <#if appointmentform.isActive><@tag color='success'><@icon style='check' /><#else><@tag color='danger'><@icon style='times' /> ${appointmentform.title} <@td> <#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-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' />