%# (C) COPYRIGHT HELP/SYSTEMS, L.L.C. 2009 %>
"
helpUrl="<%=help_link(HELP_URL_CONFIG['scheduling_objects']['file_transfer_systems']['file_transfer_system_manager'])%>"
region="center"
lazyRender="true"
dojoType="helpsys.ext.LiveGrid"
baseParameters="{
tag: '<%= params[:tag] %>'
}"
authenticity_token="<%= form_authenticity_token %>"
autoExpandColumn="filetransfersGridDescription"
dataColumns="[{name: 'id'}, {name: 'name'}, {name: 'description'}, {name: 'system_name'}, {name: 'user'}]"
deletePath="<%= file_transfer_system_path(-1) %>"
editPath="<%= edit_file_transfer_system_path(-1) %>"
editInPopup="false"
gridColumns="[
{dataIndex: 'name', header: '<%= t('common.name') %>', id: 'filetransfersGridName', locked: false, sortable: true, width: 200, filter: true, filterType: 'string'},
{dataIndex: 'description', header: '<%= t('common.description') %>', id: 'filetransfersGridDescription', locked: false, sortable: true, filter: true, filterType: 'string'},
{dataIndex: 'system_name', header: '<%= t('file_transfer_systems.system_name') %>',id: 'filetransfersGridSystem', locked: false, sortable: true, filter: true, filterType: 'string'},
{dataIndex: 'user', header: '<%= t('common.user') %>', id: 'filetransfersGridUser', locked: false, sortable: true, filter: true, filterType: 'string'}
]"
includeDelete="true"
includeEdit="true"
includeShow="true"
includeTagFilter="true"
tagMatchAnyDefault="<%= match_any_default %>"
itemType='<%= t('common.file_transfer_system') %>'
menuCfg="{items: [{
iconCls: 'icon_edit',
text: '<%= t('.edit_filetransfersystem_object') %>',
actsOn: 'one',
actionUrl: '<%= edit_file_transfer_system_path(-1) %>'
<%#*usePopup: false%>
},{
iconCls: 'icon_copy',
text: '<%= t('.copy_filetransfersystem_object') %>',
actsOn: 'one',
actionUrl: '<%= copy_file_transfer_system_path(-1) %>'
},{
iconCls: 'icon_delete',
text: '<%= t('.delete_filetransfersystem_object') %>',
actsOn: 'one',
method: 'DELETE',
actionUrl: '<%= file_transfer_system_path(-1) %>',
ajaxRequest: true,
confirmText: '<%=t "file_transfer_systems.index.delete_confirmation" %>'
}, '-', {
iconCls: 'icon_export',
text: '<%=t ".export_file_transfer_system" %>',
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 => 'FileTransferSystem') %>'
}, {
iconCls: 'icon_whereused',
text: '<%= t('common.where_used') %>',
actsOn: 'one',
actionUrl: '<%= whereused_file_transfer_system_path(-1) %>'
}]}"
sortField="{field: 'name', direction: 'ASC'}"
tbar="{items: [{
iconCls: 'icon_create',
text: '<%= t('.create_filetransfersystem_object') %>',
actsOn: 'none',
actionUrl: '<%= new_file_transfer_system_path %>'
}]}"
url="<%= file_transfer_systems_path(:format => 'json') %>" style="height:100%;">