%# (C) COPYRIGHT HELP/SYSTEMS, L.L.C. 2013 %> <% form_id = "where_used_informatica_cloud_server_#{@informatica_cloud_server.id}" button_id = "button_close_#{@informatica_cloud_server.id}" @title_section = t('common.new_where_used_title', :type => t('common.informatica_cloud_server')) @title_section = @title_section + ' ' + t('common.view_only_mode') if @view_only @title_item = h @informatica_cloud_server.name @help_link_anchor = HELP_URL_CONFIG['scheduling_objects']['informatica_cloud_servers']['where_used'] %> <% render(:layout => 'shared/edit_section',:locals => {:section_id => "where-used-jobs", :section_title => t(".jobs")}) do jobs_count = @informatica_cloud_server.referred_jobs_count%> <%= t('informatica_cloud_servers.whereused.assigned_jobs_text', :count => jobs_count) if jobs_count > 1 || jobs_count == 0 %> <%= t('informatica_cloud_servers.whereused.assigned_job_text', :count => jobs_count) if jobs_count == 1 %> <% end %> <% render(:layout => 'shared/edit_section',:locals => {:section_id => "where-used-member-jobs", :section_title => t(".member_jobs")}) do member_jobs_count = @informatica_cloud_server.referred_member_jobs_count %> <%= t('informatica_cloud_servers.whereused.assigned_member_jobs_text', :count => member_jobs_count) if member_jobs_count > 1 || member_jobs_count == 0 %> <%= t('informatica_cloud_servers.whereused.assigned_member_job_text', :count => member_jobs_count) if member_jobs_count == 1 %> <% end %> <% render(:layout => 'shared/edit_section',:locals => {:section_id => "where-used-command-sets", :section_title => t(".command_sets")}) do command_sets_count = @informatica_cloud_server.referred_command_sets_count %> <%= t('informatica_cloud_servers.whereused.assigned_command_sets_text', :count => command_sets_count) if command_sets_count > 1 || command_sets_count == 0 %> <%= t('informatica_cloud_servers.whereused.assigned_command_set_text', :count => command_sets_count) if command_sets_count == 1 %> <% end %> <% render(:layout => 'shared/edit_section',:locals => {:section_id => "where-used-switch-informatica-cloud-server", :section_title => t(".switch_section")}) do %> <%= t('informatica_cloud_servers.whereused.switch_section_preview') %> <% end %>