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