%# (C) COPYRIGHT HELP/SYSTEMS, L.L.C. 2012 %>
"
helpUrl="<%=help_link(HELP_URL_CONFIG['scheduling_objects']['informatica_repositories']['manager'])%>"
region="center"
lazyRender="true"
dojoType="helpsys.ext.LiveGrid"
baseParameters="{
tag: '<%= params[:tag] %>'
}"
authenticity_token="<%= form_authenticity_token %>"
autoExpandColumn="informatica_repositoriesGridDescription"
dataColumns="[{name: 'id'}, {name: 'name'}, {name: 'description'}, {name: 'system_name'}, {name: 'repository_name'}, {name: 'repository_domain'}, {name: 'informatica_user'}]"
deletePath="<%= informatica_repository_path(-1) %>"
deleteConfirmation='<%=t ".delete_confirmation" %>'
editPath="<%= edit_informatica_repository_path(-1) %>"
editInPopup="false"
itemType='<%= t('common.job_definition') %>'
gridColumns="[
{dataIndex: 'name', header: '<%= t('common.name') %>', id: 'informatica_repositoriesGridName', locked: false, sortable: true, width: 150, filter: true, filterType: 'string'},
{dataIndex: 'description', header: '<%= t('common.description') %>', id: 'informatica_repositoriesGridDescription', locked: false, sortable: true, width: 150, filter: true, filterType: 'string'},
{dataIndex: 'system_name', header: '<%= t('.system_name') %>', id: 'informatica_repositoriesGridSystemName', locked: false, sortable: true, width: 150, filter: true, filterType: 'string'},
{dataIndex: 'repository_name', header: '<%= t('.repository_name') %>', id: 'informatica_repositoriesGridRepositoryName', locked: false, sortable: true, width: 150, filter: true, filterType: 'string'},
{dataIndex: 'repository_domain', header: '<%= t('.repository_domain') %>', id: 'informatica_repositoriesGridRepositoryDomain', locked: false, sortable: true, width: 150, filter: true, filterType: 'string'},
{dataIndex: 'informatica_user', header: '<%= t('.informatica_user') %>', id: 'informatica_repositoriesGridInformaticaUser', locked: false, sortable: true, width: 150, filter: true, filterType: 'string'}
]"
includeDelete="true"
includeEdit="true"
includeShow="true"
includeTagFilter="true"
tagMatchAnyDefault="<%= match_any_default %>"
menuCfg="{items: [{
iconCls: 'icon_edit',
text: '<%= t('.edit_informatica_repository') %>',
actsOn: 'one',
actionUrl: '<%= edit_informatica_repository_path(-1) %>'
},{
iconCls: 'icon_copy',
text: '<%= t('.copy_informatica_repository') %>',
actsOn: 'one',
actionUrl: '<%= copy_informatica_repository_path(-1) %>'
},{
iconCls: 'icon_delete',
text: '<%= t('.delete_informatica_repository') %>',
actsOn: 'one',
method: 'DELETE',
actionUrl: '<%= informatica_repository_path(-1) %>',
ajaxRequest: true,
confirmText: '<%=t ".delete_confirmation" %>'
}, '-', {
iconCls: 'icon_export',
text: '<%=t ".export_informatica_repository" %>',
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 => 'InformaticaRepository') %>'
},{
iconCls: 'icon_whereused',
text: '<%= t('common.where_used') %>',
actsOn: 'one',
actionUrl: '<%= whereused_informatica_repository_path(-1) %>'
}]}"
sortField="{field: 'name', direction: 'ASC'}"
tbar="{items: [{
iconCls: 'icon_create',
text: '<%= t('.create_informatica_repository') %>',
actsOn: 'none',
actionUrl: '<%= new_informatica_repository_path %>'
}]}"
url="<%= informatica_repositories_path(:format => 'json') %>" style="height:100%;">