@row>
<@columns>
<@box color='primary'>
<@boxHeader title='#i18n{appointment.manage.appointmentforms.title}'>
<#if permission_create=="true">
<@aButton href='jsp/admin/plugins/appointment/ManageAppointmentForms.jsp?view=createAppointmentForm' buttonIcon='plus' title='#i18n{appointment.manageAppointmentForms.buttonAdd}' />
#if>
@boxHeader>
<@boxBody>
<@messages errors=errors warnings=warnings infos=infos/>
<@paginationAdmin paginator=paginator combo=1 />
<@table>
| #i18n{appointment.labelTitle} |
#i18n{portal.util.labelActions} |
<#list appointmentform_list as appointmentform >
|
<#if appointmentform.isActive>
<@tag color='success'>
<@icon style='check' />
@tag>
<#else>
<@tag color='danger'>
<@icon style='times' />
@tag>
#if>
${appointmentform.title}
<#if appointmentform.isActive>
<@icon style='globe' />
#if>
|
<#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>
<#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>
<#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>
<#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>
<#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>
<#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>
#if>
<#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}' hideTitle=['all'] buttonIcon='trash' color='danger' size='sm' />
#if>
|
#list>
@table>
<@paginationAdmin paginator=paginator />
@boxBody>
@box>
@columns>
@row>