<%# (C) COPYRIGHT HELP/SYSTEMS, L.L.C. 2012 %> <% form_id = "where_used_informatica_repository_#{@informatica_repository.id}" button_id = "button_close_#{@informatica_repository.id}" @title_section = t('common.new_where_used_title', :type => t('common.informatica_repository')) @title_section = @title_section + ' ' + t('common.view_only_mode') if @view_only @title_item = h @informatica_repository.name @help_link_anchor = HELP_URL_CONFIG['scheduling_objects']['informatica_repositories']['where_used'] %> <% render(:layout => 'shared/edit_section',:locals => {:section_id => "where-used-jobs", :section_title => t(".jobs")}) do jobs_count = @informatica_repository.referred_jobs_count %> <%= t('informatica_repositories.whereused.assigned_jobs_text', :count => jobs_count) if jobs_count > 1 || jobs_count == 0 %> <%= t('informatica_repositories.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_repository.referred_member_jobs_count %> <%= t('informatica_repositories.whereused.assigned_member_jobs_text', :count => member_jobs_count) if member_jobs_count > 1 || member_jobs_count == 0 %> <%= t('informatica_repositories.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_repository.referred_command_sets_count %> <%= t('informatica_repositories.whereused.assigned_command_sets_text', :count => command_sets_count) if command_sets_count > 1 || command_sets_count == 0 %> <%= t('informatica_repositories.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-repository", :section_title => t(".switch_section")}) do %> <%= t('informatica_repositories.whereused.switch_section_preview') %> <% end %>
<%= button_to_function(t('common.close'), "window.open('#{url_for(:action => 'index')}', '_self');") %>