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