<%# (C) COPYRIGHT HELP/SYSTEMS, L.L.C. 2011 %> <% form_id = "where_used_job_queue_#{@job_queue.id}" button_id = "button_close_#{@job_queue.id}" @title_section = t('common.new_where_used_title', :type => t('common.job_queue')) @title_section = @title_section + ' ' + t('common.view_only_mode') if @view_only @title_item = h @job_queue.name @title_item += ' ('+ @job_queue.agent.name + ')' if @job_queue.job_queue_type == JobQueue::QUEUE_TYPE_AGENT @help_link_anchor = HELP_URL_CONFIG['job_queues']['where_used'] %> <% render(:layout => 'shared/edit_section',:locals => {:section_id => "where-used-jobs", :section_title => t("common.jobs")}) do %> <%= t('job_queues.whereused.assigned_jobs_text', :count => @job_queue.get_jobs_count_in_queue) if @job_queue.get_jobs_count_in_queue > 1 || @job_queue.get_jobs_count_in_queue == 0 %> <%= t('job_queues.whereused.assigned_job_text', :count => @job_queue.get_jobs_count_in_queue) if @job_queue.get_jobs_count_in_queue == 1 %> <% end %> <% render(:layout => 'shared/edit_section',:locals => {:section_id => "where-used-member-jobs", :section_title => t("common.member_jobs")}) do %> <%= t('job_queues.whereused.assigned_member_jobs_text', :count => @job_queue.get_member_jobs_count_in_queue) if @job_queue.get_member_jobs_count_in_queue > 1 || @job_queue.get_member_jobs_count_in_queue == 0 %> <%= t('job_queues.whereused.assigned_member_job_text', :count => @job_queue.get_member_jobs_count_in_queue) if @job_queue.get_member_jobs_count_in_queue == 1 %> <% end %> <% render(:layout => 'shared/edit_section',:locals => {:section_id => "where-used-switch-job-queue", :section_title => t(".switch_section")}) do %> <%= t('job_queues.whereused.switch_section_preview') %> <% end %>
<%= button_to_function(t('common.close'), "window.open('#{url_for(:action => 'index')}', '_self');") %>