<%# (C) COPYRIGHT HELP/SYSTEMS, L.L.C. 2013 %>
title="<%= t("#{controller.controller_name}.page_title") + ' » ' + "#{@PAGE_TITLE_LIMIT}" %>" stateId="remote_notification_histories_focused" baseParameters="{ results: 300, remote_server_id: '<%= params[:remote_server_id] %>' }" includeTagFilter="true" <% elsif (params[:remote_dependency_id]) %> title="<%= t("#{controller.controller_name}.page_title") + ' » ' + "#{@PAGE_TITLE_LIMIT}" %>" stateId="remote_notification_histories_focused" baseParameters="{ results: 300, remote_dependency_id: '<%= params[:remote_dependency_id] %>' }" includeTagFilter="false" <% else %> advanceDateFilter="{dateField: 'status_time_utc'}" stateId="remote_notification_historiesGrid" title = "<%= t("#{controller.controller_name}.page_title") %>" includeTagFilter="true" tagMatchAnyDefault="<%= match_any_default %>" <% end %> includeAutoRefresh="true" helpUrl="<%=help_link(HELP_URL_CONFIG['scheduling_objects']['remote_servers']['automate_schedule_event_history'])%>" region="center" lazyRender="true" dojoType="helpsys.ext.LiveGrid" authenticity_token="<%= form_authenticity_token %>" dataColumns="[{name: 'id'}, {name: 'prereq_object_name'}, {name: 'type'}, {name: 'status'}, {name: 'status_time_utc'}, {name: 'notification_time_utc'}, {name: 'remote_server_name'}, {name: 'source_id'}, {name: 'source_info'}, {name: 'user_job_name'}, {name: 'is_canceled'} ]" deletePath="<%= remote_notification_history_path(-1) %>" itemType='<%= t('common.remote_notification_history_entry') %>' gridColumns="[ {dataIndex: 'prereq_object_name', header: '<%=t ".prereq_object_name" %>', id: 'remoteNotificationHistoriesGridPrereqObjectName', locked: false, sortable: true, width: 150, filter: true, filterType: 'string'}, {dataIndex: 'type', header: '<%=t ".type" %>', id: 'remoteNotificationHistoriesGridType', locked: false, sortable: false, width: 150, filter: true, filterType: 'list', filterList: <%= RemoteEvent.FILTER_AUTOMATE_EVENT_TYPES %>}, {dataIndex: 'status', header: '<%=t ".status" %>', id: 'remoteNotificationHistoriesGridStatus', locked: false, sortable: true, width: 100, filter: true, filterType: 'list', filterList: <%= JobHistory.FILTER_STATUS_ALL %>}, {dataIndex: 'status_time_utc', header: '<%=t ".status_time_utc" %>', id: 'remoteNotificationHistoriesGridStatusTimeUtc', locked: false, sortable: true, width: 200, filter: true, filterType: 'dateTime'}, {dataIndex: 'notification_time_utc', header: '<%=t ".notification_time_utc" %>', id: 'remoteNotificationHistoriesGridNotificationTimeUtc', locked: false, sortable: true, width: 200, filter: true, filterType: 'dateTime'}, {dataIndex: 'remote_server_name', header: '<%=t ".remote_server_name" %>', id: 'remoteNotificationHistoriesGridRemoteServerName', locked: false, sortable: true, width: 150, filter: true, filterType: 'string'}, {dataIndex: 'source_id', header: '<%=t ".source_id" %>', id: 'remoteNotificationHistoriesGridSourceId', locked: false, sortable: true, width: 100, filter: true, filterType: 'numeric'}, {dataIndex: 'source_info', header: '<%=t ".source_info" %>', id: 'remoteNotificationHistoriesGridSourceInfo', locked: false, sortable: true, width: 130, filter: true, filterType: 'string'}, {dataIndex: 'user_job_name', header: '<%=t ".user_job_name" %>', id: 'remoteNotificationHistoriesGridUserJobName', locked: false, sortable: true, width: 100, filter: true, filterType: 'string'}, {dataIndex: 'is_canceled', header: '<%=t ".is_canceled" %>', id: 'remoteNotificationHistoriesGridIsCanceled', locked: false, sortable: false, width: 100, filter: true, filterType: 'list', filterList: <%= RemoteNotificationHistory.IS_CANCELED_FILTER_OPTIONS %>} ]" includeDelete="true" autoFill="false" forceFit="false" menuCfg="{items: [{ iconCls: 'icon_delete', text: '<%=t ".delete_history" %>', actsOn: 'many', method: 'DELETE', actionUrl: '<%= remote_notification_history_path(-1) %>', ajaxRequest: true, actionId: 'delete_history', customAction: true, confirmText: '<%=t ".delete_confirmation" %>' }, { iconCls: '', text: '<%= t('.cancel_notification') %>', actsOn: 'many', method: 'POST', actionUrl: '<%= cancel_notification_remote_notification_history_path(-1) %>', ajaxRequest: true, actionId: 'cancel_notification', customAction: true, confirmText: '<%=t ".cancel_notification_confirmation" %>' } ]}" sortField="{field: 'id', direction: 'DESC'}" tbar="{items: []}" url="<%= remote_notification_histories_path(:format => 'json') %>">