<%# (C) COPYRIGHT HELP/SYSTEMS, L.L.C. 2011 %> <% form_id = "where_used_member_job_#{@member_job.id}" button_id = "button_close_#{@member_job.id}" @title_section = t('common.new_where_used_title', :type => t('common.member_job')) @title_section = @title_section + ' ' + t('common.view_only_mode') if @view_only @title_item = h @member_job.name @help_link_anchor = HELP_URL_CONFIG['member_jobs']['where_used'] %> <% render(:layout => 'shared/edit_section',:locals => {:section_id => "where-used-job-suites", :section_title => t(".job_suites")}) do %> <%= t('member_jobs.whereused.assigned_job_suites_text', :count => @member_job.job_suites.count) if @member_job.job_suites.count > 1 || @member_job.job_suites.count == 0 %> <%= t('member_jobs.whereused.assigned_job_suite_text', :count => @member_job.job_suites.count) if @member_job.job_suites.count == 1 %> <% end %> <% render(:layout => 'shared/edit_section',:locals => {:section_id => "where-used-job-dependencies", :section_title => t(".job_dependencies")}) do %> <%= t('member_jobs.whereused.assigned_job_dependencies_text', :count => @job_dependencies_count) if @job_dependencies_count > 1 || @job_dependencies_count == 0 %> <%= t('member_jobs.whereused.assigned_job_dependency_text', :count => @job_dependencies_count) if @job_dependencies_count == 1 %> <% end %> <% render(:layout => 'shared/edit_section',:locals => {:section_id => "where-used-job-suite-dependencies", :section_title => t(".job_suite_dependencies")}) do %> <%= t('member_jobs.whereused.assigned_job_suite_dependencies_text', :count => @job_suite_dependencies_count) if @job_suite_dependencies_count > 1 || @job_suite_dependencies_count == 0 %> <%= t('member_jobs.whereused.assigned_job_suite_dependency_text', :count => @job_suite_dependencies_count) if @job_suite_dependencies_count == 1 %> <% end %> <% render(:layout => 'shared/edit_section',:locals => {:section_id => "where-used-remote-servers", :section_title => t(".remote_servers")}) do prereq_remote_servers_count = @member_job.prereq_remote_servers_count %> <%= t('member_jobs.whereused.assigned_remote_servers_text', :count => prereq_remote_servers_count) if prereq_remote_servers_count > 1 || prereq_remote_servers_count == 0 %> <%= t('member_jobs.whereused.assigned_remote_server_text', :count => prereq_remote_servers_count) if prereq_remote_servers_count == 1 %> <% end %> <% render(:layout => 'shared/edit_section',:locals => {:section_id => "where-used-switch-member-job", :section_title => t(".switch_section")}) do %> <%= t('member_jobs.whereused.switch_section_preview') %> <% end %>
<%= button_to_function(t('common.close'), "window.open('#{@return_referer}', '_self');") %>