%# (C) COPYRIGHT HELP/SYSTEMS, L.L.C. 2011 %>
'
gridColumns="[
{ dataIndex: 'name', header: '<%= t('common.name') %>', id: 'remoteServerWhereusedName', locked: false, sortable: true, width: 175},
{ dataIndex: 'description', header: '<%= t('common.description') %>', id: 'remoteServerWhereusedDescription', locked: false, sortable: true, width: 100}]"
height="200"
border='false'
includeDelete="true"
includeEdit="true"
includeTagFilter="true"
tagMatchAnyDefault="<%= match_any_default %>"
menuCfg="{items: [{
iconCls: 'icon_edit',
text: '<%= t('remote_servers.index.edit_remote_server') %>',
actsOn: 'one',
actionUrl: '<%= edit_remote_server_path(-1) %>'
},{
iconCls: '',
text: '<%= t('remote_servers.index.automate_events_used_as_remote_prerequisites') %>',
actsOn: 'one',
actionUrl: '<%= remote_server_remote_dependencies_path(-1, :prereq_object_id =>@job.id) %>'
},{
iconCls: 'icon_delete',
text: '<%= t('remote_servers.index.delete_remote_server') %>',
actsOn: 'one',
method: 'DELETE',
actionUrl: '<%= remote_server_path(-1) %>',
ajaxRequest: true,
confirmText: '<%=t "remote_servers.index.delete_confirmation" %>'
}]}"
sortField="{field: 'name', direction: 'ASC'}"
tbar="{}"
useCheckboxSelection="false"
rowToSelect="-1"
url="<%= remote_servers_path(:format => 'json', :prerequisite_id => @job.id, :prerequisite_type => 'RemoteEvent') %>">