%# (C) COPYRIGHT HELP/SYSTEMS, L.L.C. 2009 %> <% button_id = "button_close_#{@job.id}" form_id = "status_notification_#{@job.id}" @title_section = t('.title') @title_section = @title_section + ' ' + t('common.view_only_mode') if @view_only @title_item = @job.name @help_link_anchor = HELP_URL_CONFIG['job_suites']['job_suite_status_notification'] %> <% form_for(@job, :url => job_suite_path(@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 => "skipped-status-notification", :section_title => t('.skipped_heading')}) do %> <% if @job.send_skipped_snmp_trap || @job.send_skipped_email %> <% if @job.send_skipped_snmp_trap %>
<%= " #{t('common.snmp_notification')}" %>
<%= " #{t('common.email_notification_list', :notification_list => @job.skipped_notification_list.name) } " %>
<%= " #{t('common.advanced_options_specified')} " unless (@job.email_subject_skipped.blank? && @job.email_body_skipped.blank?) %>
<%= " #{t('common.email_notification', :user => formatted_list_of_usernames(@job.skipped_status_user_names)) } " %>
<%= " #{t('common.advanced_options_specified')} " unless (@job.email_subject_skipped.blank? && @job.email_body_skipped.blank?) %>
<%= " #{t('jobs.status_notification.no_notification_options')}" %>
<%= " #{t('common.snmp_notification')}" %>
<%= " #{t('common.email_notification_list', :notification_list => @job.run_notification_list.name) } " %>
<%= " #{t('common.advanced_options_specified')} " unless (@job.email_subject_running.blank? && @job.email_body_running.blank?) %>
<%= " #{t('common.email_notification', :user => formatted_list_of_usernames(@job.run_status_user_names)) } " %>
<%= " #{t('common.advanced_options_specified')} " unless (@job.email_subject_running.blank? && @job.email_body_running.blank?) %>
<%= " #{t('jobs.status_notification.no_notification_options')}" %>
<%= " #{t('common.snmp_notification')}" %>
<%= " #{t('common.email_notification_list', :notification_list => @job.complete_notification_list.name) } " %>
<%= " #{t('common.advanced_options_specified')} " unless (@job.email_subject_completed.blank? && @job.email_body_completed.blank?) %>
<%= " #{t('common.email_notification', :user => formatted_list_of_usernames(@job.complete_status_user_names)) } " %>
<%= " #{t('common.advanced_options_specified')} " unless (@job.email_subject_completed.blank? && @job.email_body_completed.blank?) %>
<%= " #{t('jobs.status_notification.no_notification_options')}" %>
<%= " #{t('common.snmp_notification')}" %>
<%= " #{t('common.job_log_notification_list', :notification_list => @job.member_fail_notification_list.name)} " if (@job.send_member_failed_email_log?) %>
<%= " #{t('common.email_notification_list', :notification_list => @job.member_fail_notification_list.name) } " %>
<%= " #{t('common.advanced_options_specified')} " unless (@job.email_subject_member_failed.blank? && @job.email_body_member_failed.blank?) %>
<%= " #{t('common.job_log_notification', :user => formatted_list_of_usernames(@job.member_fail_status_user_names)) } " if (@job.send_member_failed_email_log?) %>
<%= " #{t('common.email_notification', :user => formatted_list_of_usernames(@job.member_fail_status_user_names)) } " %>
<%= " #{t('common.advanced_options_specified')} " unless (@job.email_subject_member_failed.blank? && @job.email_body_member_failed.blank?) %>
<%= " #{t('jobs.status_notification.no_notification_options')}" %>
<%= " #{t('common.snmp_notification')}" %>
<%= " #{t('common.job_log_notification_list', :notification_list => @job.member_cancel_notification_list.name)} " if (@job.send_member_canceled_email_log?) %>
<%= " #{t('common.email_notification_list', :notification_list => @job.member_cancel_notification_list.name) } " %>
<%= " #{t('common.advanced_options_specified')} " unless (@job.email_subject_member_canceled.blank? && @job.email_body_member_canceled.blank?) %>
<%= " #{t('common.job_log_notification', :user => formatted_list_of_usernames(@job.member_cancel_status_user_names)) } " if (@job.send_member_canceled_email_log?) %>
<%= " #{t('common.email_notification', :user => formatted_list_of_usernames(@job.member_cancel_status_user_names)) } " %>
<%= " #{t('common.advanced_options_specified')} " unless (@job.email_subject_member_canceled.blank? && @job.email_body_member_canceled.blank?) %>
<%= " #{t('jobs.status_notification.no_notification_options')}" %>