<%# (C) COPYRIGHT HELP/SYSTEMS, L.L.C. 2009 %>
" helpUrl="<%=help_link(HELP_URL_CONFIG['sap']['job']['home'])%>" region="center" lazyRender="true" dojoType="helpsys.ext.LiveGrid" baseParameters="{ tag: '<%= params[:tag] %>' }" authenticity_token="<%= form_authenticity_token %>" autoExpandColumn="sap_job_definitionsGridDescription" dataColumns="[{name: 'id'}, {name: 'name'}, {name: 'description'}, {name: 'sap_system'}, {name: 'sap_environment'}, {name: 'sap_job_class'}, {name: 'sap_spool_list_recipient'}, {name: 'sap_start_immediately'}, {name: 'scheduled_in_skybot'}, {name: 'wait_for_child_jobs'}, {name: 'only_in_sap'}]" deletePath="<%= sap_job_definition_path(-1) %>" deleteConfirmation='<%=t ".delete_confirmation" %>' editPath="<%= edit_sap_job_definition_path(-1) %>" editInPopup="false" itemType='<%= t('common.job_definition') %>' gridColumns="[ {dataIndex: 'name', header: '<%= t('common.name') %>', id: 'sap_job_definitionsGridName', locked: false, sortable: true, width: 150, filter: true, filterType: 'string'}, {dataIndex: 'description', header: '<%= t('common.description') %>', id: 'sap_job_definitionsGridDescription', locked: false, sortable: true, width: 150, filter: true, filterType: 'string'}, {dataIndex: 'sap_system', header: '<%= t('.sap_system') %>', id: 'sap_job_definitionsGridSAPSystem', locked: false, sortable: true, width: 150, filter: true, filterType: 'string'}, {dataIndex: 'sap_environment', header: '<%= t('.sap_environment') %>', id: 'sap_job_definitionsGridSAPEnvironment', locked: false, sortable: true, width: 150, filter: true, filterType: 'string'}, {dataIndex: 'sap_job_class', header: '<%= t('.job_class') %>', id: 'sap_job_definitionsGridJobClass', locked: false, sortable: true, width: 150, filter: true, filterType: 'list', filterList: <%= SapJobDefinition.SAP_JOB_CLASS_ALL %>}, {dataIndex: 'sap_spool_list_recipient', header: '<%= t('.sap_spool_list_recipient') %>', id: 'sap_job_definitionsGridSAPSpoolListRecipient', locked: false, sortable: true, width: 150, filter: true, filterType: 'string'}, {dataIndex: 'sap_start_immediately', header: '<%= t('.start_immediately') %>', id: 'sap_job_definitionsGridStartImmediately', locked: false, sortable: true, width: 150, filter: true, filterType: 'boolean', yesText: '<%= t('common.key_yes') %>', noText: '<%= t('common.key_no') %>'}, {dataIndex: 'scheduled_in_skybot', header: '<%= t('.scheduled_in_automate') %>', id: 'sap_job_definitionsGridScheduledInSkybot', locked: false, sortable: true, width: 100, filter: true, filterType: 'boolean', yesText: '<%= t('common.key_yes') %>', noText: '<%= t('common.key_no') %>'}, {dataIndex: 'wait_for_child_jobs', header: '<%= t('.wait_for_child_jobs') %>', id: 'sap_job_definitionsGridWaitForChildJobs', locked: false, sortable: true, width: 100, filter: true, filterType: 'boolean', yesText: '<%= t('common.key_yes') %>', noText: '<%= t('common.key_no') %>'} ]" includeDelete="true" includeEdit="true" includeShow="true" includeTagFilter="true" tagMatchAnyDefault="<%= match_any_default %>" menuCfg="{items: [{ iconCls: 'icon_edit', text: '<%= t('.edit_sap_job_definition') %>', actsOn: 'one', actionUrl: '<%= edit_sap_job_definition_path(-1) %>' },{ iconCls: 'icon_copy', text: '<%= t('.copy_sap_job_definition') %>', actsOn: 'one', actionUrl: '<%= copy_sap_job_definition_path(-1) %>' },{ iconCls: 'icon_delete', text: '<%= t('.delete_sap_job_definition') %>', actsOn: 'one', method: 'DELETE', actionUrl: '<%= sap_job_definition_path(-1) %>', ajaxRequest: true, confirmText: '<%=t ".delete_confirmation" %>' }, '-', { iconCls: 'icon_export', text: '<%=t ".export_sap_job_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 => 'SapJobDefinition') %>' },{ iconCls: 'icon_whereused', text: '<%= t('common.where_used') %>', actsOn: 'one', actionUrl: '<%= whereused_sap_job_definition_path(-1) %>' }]}" sortField="{field: 'name', direction: 'ASC'}" tbar="{items: [{ iconCls: 'icon_create', text: '<%= t('.create_sap_job_definition') %>', actsOn: 'none', actionUrl: '<%= new_sap_job_definition_path %>' }]}" url="<%= sap_job_definitions_path(:format => 'json') %>" style="height:100%;">