<% # (C) COPYRIGHT HELP/SYSTEMS, L.L.C. 2009 %> <% button_id = "button_close_#{@member_job.id}" form_id = "job_output_distribution_#{@member_job.id}" @title_section = t('.title') @title_section = @title_section + ' ' + t('common.view_only_mode') if @view_only @title_item = @member_job.name @help_link_anchor = HELP_URL_CONFIG['jobs']['job_output_distribution'] %> <% form_for(@member_job, :url => job_editing_job_suite_editing_member_job_path(:job_id => job_id, :editing_job_suite_id => editing_job_suite_id, :id => @member_job.id), :html => { :id => form_id, :class => "edit_job", :autocomplete => "off", :onsubmit => "try {helpsys.CntMgr.getController('#{form_id}').submitForm();} catch(e) {console.log(e);};return false;"}) do |form| %> <% render( :layout => 'shared/edit_section', :locals => { :section_id => "job-logging", :section_title => t('.logging')}) do %> <% if !@member_job.copy_joblog_to_server %>

<%= t('jobs.job.job_log_not_saved') %>

<% else %>

<%= t('jobs.job.job_log_saved') %>

<% end %> <% if @member_job.email_job_log %>
<% if !@member_job.email_notification_list.nil? && @member_job.email_notification_list_public_list %>

<%= " #{t('common.email_notification_list', :notification_list => @member_job.email_notification_list.name) } " %>

<% else %>

<%= " #{t('common.email_notification', :user => formatted_list_of_usernames(@member_job.email_joblog_user_names)) } " %>

<% end %>
<% else %>

<%= t('jobs.output_distributions.job_log_will_not_emailed') %>
<% end %> <% end %> <%= render( :partial => 'edit_output_distribution', :layout => 'shared/edit_section', :locals => { :section_id => "job-output-distributions", :section_title => t('output_distribution.agent_file_distribution'), :details_only => true}) %>
<%= standard_buttons(button_id, t('common.Ok')) %>
<% end %>