<#include "macro_workflows.html" /> <@row> <@columns> <@box style='primary'> <@boxHeader titleLevel='h3' i18nTitleKey='workflow.manage_workflow.title'> <#if permission_manage_advanced_parameters> <@aButton href='jsp/admin/plugins/workflow/ManageAdvancedParameters.jsp' buttonIcon='cog' title='#i18n{workflow.manage_workflow.button_manage_advanced_parameters}' size='sm' /> <@aButton href='jsp/admin/plugins/workflow/CreateWorkflow.jsp' buttonIcon='plus' title='#i18n{workflow.manage_workflow.button_create}' size='sm' /> <@boxBody> <@paginationAdmin paginator=paginator combo=1 /> <@tform type='inline' align='right'> <@formGroup formStyle='inline' labelFor='is_enabled' labelKey='#i18n{workflow.manage_workflow.label_active}'> <@select name='is_enabled' items=active_list default_value='active_selected' size='sm' /> <@formGroup formStyle='inline' labelFor='workgroup' labelKey='#i18n{workflow.manage_workflow.label_workgroup}'> <@inputGroup> <@select name="workgroup" items=user_workgroup_list default_value=user_workgroup_selected size='sm' /> <@inputGroupItem> <@button type='submit' name='filter' buttonIcon='filter' title='#i18n{workflow.manage_workflow.button_search}' hideTitle=['all'] color='default' size='sm' /> <@table responsive=false params='style="margin:50px 0;"'> <@tr> <@th>#i18n{workflow.manage_workflow.row_name} <@th>#i18n{workflow.manage_workflow.row_actions} <#list workflow_list as workflow> <@tr> <@td> ${workflow.name} <#if !workflow.enabled><@icon style='times' class='fa-fw text-danger' title='#i18n{portal.util.labelDisabled}' /> <@td> <@aButton href='jsp/admin/plugins/workflow/ModifyWorkflow.jsp?id_workflow=${workflow.id}' hideTitle=['all'] buttonIcon='pencil' title='#i18n{workflow.manage_workflow.title_modify}' size='sm' /> <@aButton href='jsp/admin/plugins/workflow/DoCopyWorkflow.jsp?id_workflow=${workflow.id}' hideTitle=['all'] buttonIcon='copy' title='#i18n{workflow.manage_workflow.title_copy}' size='sm' /> <@aButton href='jsp/admin/plugins/workflow/ConfirmRemoveWorkflow.jsp?id_workflow=${workflow.id}' hideTitle=['all'] buttonIcon='trash' color='danger' title='#i18n{workflow.manage_workflow.title_delete}' size='sm' /> <#if workflow.enabled> <@aButton href='jsp/admin/plugins/workflow/DoDisableWorkflow.jsp?id_workflow=${workflow.id}' hideTitle=['all'] buttonIcon='stop' color='danger' title='#i18n{workflow.manage_workflow.title_disable}' size='sm' /> <#else> <@aButton href='jsp/admin/plugins/workflow/DoEnableWorkflow.jsp?id_workflow=${workflow.id}' hideTitle=['all'] buttonIcon='play' color='success' title='#i18n{workflow.manage_workflow.title_enable}' size='sm' /> <@paginationAdmin paginator=paginator combo=1 />