<%# (C) COPYRIGHT HELP/SYSTEMS, L.L.C. 2012 %> <% form_id = "where_used_sap_event_monitor_#{@sap_event_monitor.id}" button_id = "button_close_#{@sap_event_monitor.id}" @title_section = t('common.new_where_used_title', :type => t('common.sap_event_monitor')) @title_section = @title_section + ' ' + t('common.view_only_mode') if @view_only @title_item = h @sap_event_monitor.name @help_link_anchor = HELP_URL_CONFIG['product_info']['about_product'] %> <% render(:layout => 'shared/edit_section',:locals => {:section_id => "where-used-jobs", :section_title => t("common.job_dependencies")}) do %> <% job_count = @sap_event_monitor.job_count %> <%= t('sap_event_monitors.whereused.assigned_jobs_text', :count => job_count) if job_count > 1 || job_count == 0 %> <%= t('sap_event_monitors.whereused.assigned_job_text', :count => job_count) if job_count == 1 %> <% end %>
<%= button_to_function(t('common.close'), "window.open('#{@return_referer}', '_self');") %>