<#include "macro_workflows.html" /> <@row> <@columns sm=12 md=12 lg=12> <@box style='primary'> <@boxHeader titleLevel='h3' i18nTitleKey='workflow.manage_workflow.title'> <#if permission_manage_advanced_parameters> <@aButton href='jsp/admin/plugins/workflow/ManageAdvancedParameters.jsp' size='xs' buttonIcon='cog' title='#i18n{workflow.manage_workflow.button_manage_advanced_parameters}' /> <@aButton href='jsp/admin/plugins/workflow/CreateWorkflow.jsp' size='xs' buttonIcon='plus' title='#i18n{workflow.manage_workflow.button_create}' /> <@tform type='inline' align='left' class='spaced'> <@select name="is_enabled" items=active_list default_value="active_selected" size='xs' /> <@inputGroup> <@select name="workgroup" items=user_workgroup_list default_value=user_workgroup_selected size='xs' /> <@inputGroupItem> <@button size='sm' type='submit' name='filter' buttonIcon='filter' title='#i18n{workflow.manage_workflow.button_search}' color='default' /> <@boxBody> <@paginationAdmin paginator=paginator combo=1/> <@table responsive=false> <@tr> <@th>#i18n{workflow.manage_workflow.row_name} <@th>#i18n{workflow.manage_workflow.row_actions} <#list workflow_list as workflow> <@tr> <@td> <#if workflow.enabled> <@tag color='success' title='#i18n{portal.util.labelEnabled}' tagIcon='check-circle' /> <#else> <@tag color='important' title='#i18n{portal.util.labelDisabled}' tagIcon='times-circle' /> ${workflow.name}  <@td> <@aButton href='jsp/admin/plugins/workflow/ModifyWorkflow.jsp?id_workflow=${workflow.id}' size='xs' buttonIcon='pencil' title='#i18n{workflow.manage_workflow.title_modify}' /> <@aButton href='jsp/admin/plugins/workflow/DoCopyWorkflow.jsp?id_workflow=${workflow.id}' size='xs' buttonIcon='plus-circle' title='#i18n{workflow.manage_workflow.title_copy}' /> <@aButton href='jsp/admin/plugins/workflow/ConfirmRemoveWorkflow.jsp?id_workflow=${workflow.id}' size='xs' buttonIcon='trash' color='danger' title='#i18n{workflow.manage_workflow.title_delete}' /> <#if workflow.enabled> <@aButton href='jsp/admin/plugins/workflow/DoDisableWorkflow.jsp?id_workflow=${workflow.id}' size='xs' buttonIcon='stop' color='danger' title='#i18n{workflow.manage_workflow.title_disable}' /> <#else> <@aButton href='jsp/admin/plugins/workflow/DoEnableWorkflow.jsp?id_workflow=${workflow.id}' size='xs' buttonIcon='play' color='success' title='#i18n{workflow.manage_workflow.title_enable}' /> <@paginationAdmin paginator=paginator combo=1/>