%# (C) COPYRIGHT HELP/SYSTEMS, L.L.C. 2011 %> <% form_id = "where_used_snmp_trap_monitor_#{@snmp_trap_monitor.id}" button_id = "button_close_#{@snmp_trap_monitor.id}" @title_section = t('common.new_where_used_title', :type => t('common.snmp_trap_monitor')) @title_section = @title_section + ' ' + t('common.view_only_mode') if @view_only @title_item = h @snmp_trap_monitor.name @help_link_anchor = HELP_URL_CONFIG['scheduling_objects']['snmp_trap_monitors']['where_used'] %> <% render(:layout => 'shared/edit_section',:locals => {:section_id => "where-used-jobs", :section_title => t("common.job_dependencies")}) do %> <% job_count = @snmp_trap_monitor.job_count %> <%= t('snmp_trap_monitors.whereused.assigned_jobs_text', :count => job_count) if job_count > 1 || job_count == 0 %> <%= t('snmp_trap_monitors.whereused.assigned_job_text', :count => job_count) if job_count == 1 %> <% end %> <% render(:layout => 'shared/edit_section',:locals => {:section_id => "where-used-job-suites", :section_title => t("common.job_suite_dependencies")}) do %> <% job_suite_count = @snmp_trap_monitor.job_suite_count %> <%= t('snmp_trap_monitors.whereused.assigned_job_suites_text', :count => job_suite_count) if job_suite_count > 1 || job_suite_count == 0 %> <%= t('snmp_trap_monitors.whereused.assigned_job_suite_text', :count => job_suite_count) if job_suite_count == 1 %> <% end %>