%# (C) COPYRIGHT HELP/SYSTEMS, L.L.C. 2012 %> <% button_id = "button_close_#{@system_setting.id}" form_id = "edit_system_settings_#{@system_setting.id}" url = system_setting_path @title = t('.dialog_title') @title = @title + ' ' + t('common.view_only_mode') if @view_only @title_section = @title @help_link_anchor = HELP_URL_CONFIG['admin']['system_settings']['home'] %> <% form_for(@system_setting, :html => {:id => form_id,:class => "edit_system_setting",:autocomplete => "off", :onsubmit => "try {helpsys.CntMgr.getController('#{form_id}').submitForm();} catch(e) {console.log(e);};return false;"}) do |form| %>
<%= t_label 'system_settings.minimum_password_length_label' %>
<%= @system_setting.minimum_password_length %>
<%= t_label 'system_settings.password_requires_number_label' %>
<%= @system_setting.passwords_require_number? ? t('common.key_yes') : t('common.key_no') %>
<%= t_label 'system_settings.password_requires_symbols_label' %>
<%= @system_setting.passwords_require_symbols? ? t('common.key_yes') : t('common.key_no') %>
<%= t_label 'system_settings.password_requires_mixed_case_label' %>
<%= @system_setting.passwords_require_mixed_case? ? t('common.key_yes') : t('common.key_no') %>
<%= t_label 'system_settings.unique_passwords_label' %>
<%= @system_setting.require_unique_passwords? ? @system_setting.number_of_unique_passwords : t('system_settings.none_required_label') %>
<%= t_label 'system_settings.invalid_login_attempts_label' %>
<%= @system_setting.disable_user_on_invalid_login? ? @system_setting.number_of_invalid_login_attempts : t('system_settings.never_invalidate_label') %>
<%= t_label 'system_settings.password_expiration_interval_label' %>
<%= render( :partial => "expire_in_x_days", :locals => { :expires => @system_setting.expire_passwords?, :days_to_expire => @system_setting.password_expiration_interval}) %>
<%= t_label 'system_settings.password_expiration_notification_label' %>
<%= render( :partial => "expire_in_x_days", :locals => { :expires => @system_setting.notify_user_password_expiring, :days_to_expire => @system_setting.password_expiration_notification_days}) %>
<%= t_label 'system_settings.authentication_type_label' %>
<%= case @system_setting.ldap_option when SystemSetting::LDAP_LEVEL_NONE t 'system_settings.edit_auth_config.use_automate_schedule_auth'; when SystemSetting::LDAP_LEVEL_AUTHETICATION t 'system_settings.edit_auth_config.use_ldap_auth'; when SystemSetting::LDAP_LEVEL_FULL t 'system_settings.edit_auth_config.use_ldap_auth_with_user'; end %>
<%= t_label 'system_settings.edit_universal_connector.base_url' %>
<%= h @uc_servers.base_url.nil? ? t('common.not_configured') : @uc_servers.base_url %>
<%= t_label 'system_settings.inactivity_timeout_label' %>
<%= t('common.number_of_minutes', :minutes => @system_setting.inactivity_time_out) %>
<%= t_label 'system_settings.time_of_day_to_purge' %>
<%= int_to_time @system_setting.time_to_run_history_purge %>
<%= t_label "system_settings.agent_event_purge_label" %>
<%= render( :partial => "keep_for_x_days", :locals => { :purge => @system_setting.agent_event_auto_purge, :days_to_keep => @system_setting.agent_event_days_to_keep}) %>
<%= t_label "system_settings.audit_purge_label" %>
<%= render( :partial => "keep_for_x_days", :locals => { :purge => @system_setting.audit_auto_purge, :days_to_keep => @system_setting.audit_days_to_keep}) %>
<%= t_label "system_settings.automatic_purge_label" %>
<%= @system_setting.job_history_auto_purge ? t('system_settings.keep_job_history') : t('system_settings.do_not_purge') %>
<%= t_label "system_settings.job_monitor_purge_label" %>
<%= render( :partial => "keep_for_x_days", :locals => { :purge => @system_setting.job_monitor_auto_purge, :days_to_keep => @system_setting.job_monitor_days_to_keep}) %>
<%= t_label "system_settings.remote_history_purge_label" %>
<%= render(:partial => "keep_for_x_days", :locals => { :purge => @system_setting.remote_history_auto_purge, :days_to_keep => @system_setting.remote_history_days_to_keep}) %>
<%= t_label "system_settings.schedule_log_purge" %>
<%= render( :partial => "keep_for_x_days", :locals => { :purge => @system_setting.schedule_log_auto_purge, :days_to_keep => @system_setting.schedule_log_days_to_keep}) %>
<%= t_label "system_settings.snmp_log_purge" %>
<%= render( :partial => "keep_for_x_days", :locals => { :purge => @system_setting.snmp_trap_auto_purge, :days_to_keep => @system_setting.snmp_trap_days_to_keep}) %>
<%= t_label "system_settings.system_message_label" %>
<%= render( :partial => "keep_for_x_days", :locals => { :purge => @system_setting.system_message_auto_purge, :days_to_keep => @system_setting.system_message_days_to_keep}) %>
<%= t_label "system_settings.sap_intercepted_job_history_purge_label" %>
<%= render( :partial => "keep_for_x_days", :locals => { :purge => @system_setting.sap_intercepted_job_history_auto_purge, :days_to_keep => @system_setting.sap_intercepted_job_history_days_to_keep}) %>
<%= t_label "system_settings.purge_job_history_label" %>
<%= @system_setting.default_job_purge ? t('common.key_yes') : t('common.key_no') %>
<%= t_label "system_settings.runs_to_keep_label" %>
<%= @system_setting.default_job_runs_to_keep %>
<%= t_label "system_settings.days_to_keep_label" %>
<%= @system_setting.default_job_history_days_to_keep %>
<%= t_label "system_settings.purge_forecast_label" %>
<%= @system_setting.default_forecast_purge ? t('common.key_yes') : t('common.key_no') %>
<%= t_label "system_settings.forecasts_to_keep_label" %>
<%= @system_setting.default_forecast_days_to_keep %>
<%= t_label "system_settings.track_changes" %>
<%= @system_setting.audit_records ? t('common.key_yes') : t('common.key_no') %>
<%= t_label "system_settings.smtp_address" %>
<%= h @system_setting.email_server_address %>
<%= t_label "system_settings.smtp_port" %>
<%= @system_setting.email_server_port %>
<%= t_label "system_settings.use_ssl" %>
<%= @system_setting.email_use_ssl ? t("common.key_yes") : t("common.key_no") %>
<%= t_label "system_settings.smtp_server_timeout" %>
<%= t("common.number_of_seconds", :seconds => @system_setting.email_server_timeout ) %>
<%= t_label "system_settings.server_req_auth" %>
<%= @system_setting.email_server_requires_authentication? ? t("common.key_yes") : t("common.key_no") %>
<%= t_label "system_settings.sender_email" %>
<%= h @system_setting.email_sender_address %>
<%= t_label "system_settings.max_email_attachment_size" %>
<%= h @system_setting.max_email_attachment_size %> <% if @system_setting.max_email_attachment_size != 1 %> <%= t "common.megabytes"%> <% else %> <%= t "common.megabyte"%> <% end%>
<%= t_label "system_settings.snmp_trap_managers" %>
<% if @snmp_trap_managers.length == 1 %> <%= t('system_settings.snmp_trap_manager_text') %> <% elsif @snmp_trap_managers.length > 1 %> <%= t('system_settings.snmp_trap_managers_text',:count => @snmp_trap_managers.length) %> <% else %> <%= t('system_settings.snmp_trap_managers_none') %> <% end %>
<%= t_label "system_settings.monitor_for_traps" %>
<%= @system_setting.monitor_snmp_traps ? t("common.key_yes") : t("common.key_no") %>
<%= t_label "system_settings.snmp_trap_port" %>
<%= @system_setting.snmp_trap_port %>
<%= t_label "system_settings.standby_server_notification" %>
<% if @system_setting.ha_email_address.nil? || @system_setting.ha_email_address.strip.length == 0 %> <%= t('system_settings.no_ha_email_address') %> <% else %> <%= h(@system_setting.ha_email_address) %> <% end %>
<%= t_label('system_settings.standby_server') %>
<%= t('common.not_configured') %>
<%= t_label('system_settings.standby_server') %>
<%= @system_setting.standby_server%>:<%= @system_setting.standby_port %>
<%= t_label "system_settings.hide_sap_config" %>
<%= @system_setting.hide_sap_config ? t("common.key_yes") : t("common.key_no") %>
<%= t_label "system_settings.hide_ms_sql_server_config" %>
<%= @system_setting.hide_ms_sql_server_config ? t("common.key_yes") : t("common.key_no") %>
<%= t_label "system_settings.hide_informatica_config" %>
<%= @system_setting.hide_informatica_config ? t("common.key_yes") : t("common.key_no") %>
<%= t_label "system_settings.hide_oracle_config" %>
<%= @system_setting.hide_oracle_config ? t("common.key_yes") : t("common.key_no") %>
<%= t_label "system_settings.allow_webservice_requests" %>
<%= @system_setting.allow_webservice_requests ? t("common.key_yes") : t("common.key_no") %>
<%= t_label "system_settings.hide_remote_server_config" %>
<%= @system_setting.hide_remote_server_config ? t("common.key_yes") : t("common.key_no") %>
<%= t_label "system_settings.hide_iseries_config" %>
<%= @system_setting.hide_iseries_config ? t("common.key_yes") : t("common.key_no") %>
<%= t_label "system_settings.hide_automate_config" %>
<%= @system_setting.hide_automate_config ? t("common.key_yes") : t("common.key_no") %>
<%= t_label "system_settings.hide_uc_config" %>
<%= @system_setting.hide_uc_config ? t("common.key_yes") : t("common.key_no") %>
<%= t_label('ent_server.logging_level') %>
<% if @system_setting.logging_level == SystemSetting::LOGGING_LEVEL_INFORMATIONAL %> <%= t "ent_server.informational" %> <% elsif @system_setting.logging_level == SystemSetting::LOGGING_LEVEL_DEBUG %> <%= t "ent_server.debug" %> <% elsif @system_setting.logging_level == SystemSetting::LOGGING_LEVEL_TRACE %> <%= t "ent_server.trace" %> <% else %> <%= t "ent_server.unknown_status" %><%= @system_setting.logging_level %> <% end %>