@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 infos=infos errors=errors/>
<@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>
#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}' showTitle=false buttonIcon='calendar' />
#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}' showTitle=false buttonIcon='clock-o' />
#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}' showTitle=false buttonIcon='wrench' />
#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}' showTitle=false buttonIcon='comment' />
#if>
<#if permission_create=="true">
<@aButton href='jsp/admin/plugins/appointment/ManageAppointmentForms.jsp?action=doCopyAppointmentForm&id_form=${appointmentform.idForm}' title='#i18n{appointment.manageAppointmentForms.labelCopy}' showTitle=false buttonIcon='copy' />
#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}' showTitle=false buttonIcon='stop' color='btn-danger' />
<#else>
<@aButton href='jsp/admin/plugins/appointment/ManageAppointmentForms.jsp?action=doChangeFormActivation&id_form=${appointmentform.idForm}' title='#i18n{appointment.manageAppointmentForms.labelEnable}' showTitle=false buttonIcon='check' color='btn-success' />
#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}' showTitle=false buttonIcon='trash' color='btn-danger' />
#if>
|
#list>
@table>
<@paginationAdmin paginator=paginator />
@boxBody>
@box>
@columns>
@row>