<%# (C) COPYRIGHT HELP/SYSTEMS, L.L.C. 2013 %>
" helpUrl="<%=help_link(HELP_URL_CONFIG['scheduling_objects']['automate_system_definitions']['manager'])%>" region="center" lazyRender="true" dojoType="helpsys.ext.LiveGrid" baseParameters="{ tag: '<%= params[:tag] %>' }" authenticity_token="<%= form_authenticity_token %>" autoExpandColumn="automate_system_definitionsGridDescription" dataColumns="[{name: 'id'}, {name: 'system_type_img'}, {name: 'name'}, {name: 'description'}, {name: 'endpoint_url'}, {name: 'system_type'}]" deletePath="<%= automate_system_definition_path(-1) %>" deleteConfirmation="<%=t ".delete_confirmation" %>" editPath="<%= edit_automate_system_definition_path(-1) %>" editInPopup="false" itemType='<%= t('common.automate_system_definition') %>' gridColumns="[ {dataIndex: 'system_type_img', header: ' ', id: 'automate_system_definitionsGridSystemTypeImg', fixed: true, locked: false, sortable: false, width: 30, hidden: false, hideable: false, filter: false}, {dataIndex: 'name', header: '<%= t('common.name') %>', id: 'automate_system_definitionsGridName', locked: false, sortable: true, width: 150, filter: true, filterType: 'string'}, {dataIndex: 'description', header: '<%= t('common.description') %>', id: 'automate_system_definitionsGridDescription', locked: false, sortable: true, width: 150, filter: true, filterType: 'string'}, {dataIndex: 'endpoint_url', header: '<%= t('.endpoint_url') %>', id: 'automate_system_definitionsGridEndPointUrl', locked: false, sortable: true, width: 150, filter: true, filterType: 'string'}, {dataIndex: 'system_type', header: '<%= t('field_names.system_type') %>', id: 'automate_system_definitionsGridSystemType', locked: false, sortable: false, width: 150, filter: true, filterType: 'list', filterList: <%= "[ [1, '#{t('automate_system_definitions.system_types.automate')}'], [2, '#{t('automate_system_definitions.system_types.automate_bpa')}'], [3, '#{t('automate_system_definitions.system_types.automate_v11')}'], [4, '#{t('automate_system_definitions.system_types.automate_entp_v11')}']]" %>} ]" includeDelete="true" includeEdit="true" includeShow="true" includeTagFilter="true" tagMatchAnyDefault="<%= match_any_default %>" menuCfg="{items: [{ iconCls: 'icon_edit', text: '<%= t('.edit_automate_system_definition') %>', actsOn: 'one', actionUrl: '<%= edit_automate_system_definition_path(-1) %>', keepMask: true },{ iconCls: 'icon_copy', text: '<%= t('.copy_automate_system_definition') %>', actsOn: 'one', actionUrl: '<%= copy_automate_system_definition_path(-1) %>' },{ iconCls: 'icon_delete', text: '<%= t('.delete_automate_system_definition') %>', actsOn: 'one', method: 'DELETE', actionUrl: '<%= automate_system_definition_path(-1) %>', ajaxRequest: true, confirmText: '<%=t ".delete_confirmation" %>' },'-', { iconCls: 'icon_export', text: '<%=t ".export_automate_system_definition" %>', actsOn: 'many', method: 'EXPORT', customAction: true, hideLoadWindow: true, handler: function(){exportController.openExportPopup.call(exportController)} }, { iconCls: 'icon_audit', text: '<%=t "common.show_audit_changes" %>', actsOn: 'one', actionUrl: '<%= audits_path(:auditable_id => -1, :auditable_type => 'AutomateSystemDefinition') %>' },{ iconCls: 'icon_whereused', text: '<%= t('common.where_used') %>', actsOn: 'one', actionUrl: '<%= whereused_automate_system_definition_path(-1) %>' }]}" sortField="{field: 'name', direction: 'ASC'}" tbar="{items: [{ iconCls: 'icon_create', text: '<%= t('.create_automate_system_definition') %>', actsOn: 'none', actionUrl: '<%= new_automate_system_definition_path %>' }]}" url="<%= automate_system_definitions_path(:format => 'json') %>" style="height:100%;">