%# (C) COPYRIGHT HELP/SYSTEMS, L.L.C. 2009 %> <% button_id = "button_close_#{@sap_system_definition.id}" form_id = @sap_system_definition.new_record? ? "new_sap_system_definition" : "edit_sap_system_definition_#{@sap_system_definition.id}" dialog_id = "edit_#{@sap_system_definition.id}" url = @sap_system_definition.new_record? ? sap_system_definitions_path : sap_system_definition_path view_only = (@view_only) @title_section = t('.dialog_title') @title_section = @title_section + ' ' + t('common.view_only_mode') if @view_only @title_item = h @sap_system_definition.name @help_link_anchor = HELP_URL_CONFIG['sap']['system']['settings'] %> <% form_for @sap_system_definition, :html => { :id => form_id, :class => "edit_sap_system_definition", :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 => "sap-system-definition-general", :section_title => t('common.general_title')}) do %>
<%= t_label('common.name') %>
<%= h @sap_system_definition.name %>
<%= t_label('common.description') %>
<%= h @sap_system_definition.description %>
<%= t_label('common.tags') %>
<%= h @sap_system_definition.tag_list %>
<%= t_label('sap_system_definitions.sap_system_definition.connection_type') %>
<%= h @sap_system_definition.connection_type_name %>
<%= t_label('sap_system_definitions.index.message_server') %>
<%= h @sap_system_definition.message_server %>
<%= t_label('sap_system_definitions.sap_system_definition.group_server') %>
<%= h @sap_system_definition.group_or_server %>
<%= t_label('sap_system_definitions.index.application_server') %>
<%= h @sap_system_definition.sap_application_server %>
<%= t_label('sap_system_definitions.index.system_number') %>
<%= h @sap_system_definition.formated_sap_system_number %>
<%= t_label('sap_system_definitions.index.system_id') %>
<%= h @sap_system_definition.sap_system_id %>
<%= t_label('sap_system_definitions.index.router_string') %>
<%= h @sap_system_definition.sap_router_string %>
<%= t_label('sap_system_definitions.index.timezone') %>
<%= h @sap_system_definition.time_zone %>
<%= t_label('sap_system_environments.index.client_code') %>
<%= h @sap_system_definition.default_environment.formated_sap_client_code %>
<%= t_label('sap_system_environments.index.language') %>
<%= h @sap_system_definition.default_environment.language_code.name %>
<%= t_label('sap_system_environments.index.username') %>
<%= h @sap_system_definition.default_environment.sap_username %>
<%#= t('sap_system_definitions.sap_system_definition.security_is_enabled') %>
<%#= t('sap_system_definitions.sap_system_definition.security_is_disabled') %>
<% if @sap_system_definition.poll_interval_in_hours>0 %> <%= t('sap_system_definitions.sap_system_definition.poll_with_interval_full', :hours=>@sap_system_definition.poll_interval_in_hours, :minutes=>@sap_system_definition.poll_interval_in_minutes) %> <% else %> <%= t('sap_system_definitions.sap_system_definition.poll_with_interval_only_minutes', :minutes=>@sap_system_definition.poll_interval_in_minutes)%> <% end %>
<%= t('sap_system_definitions.sap_system_definition.poll_is_disabled') %>
<% if @sap_system_definition.poll_job_interval_in_hours > 0 %> <%= t('sap_system_definitions.sap_system_definition.poll_with_hours_and_minutes', :hours=>@sap_system_definition.poll_job_interval_in_hours, :minutes=>@sap_system_definition.poll_job_interval_in_minutes) %> <% else %> <%= t('sap_system_definitions.sap_system_definition.poll_with_only_minutes', :minutes=>@sap_system_definition.poll_job_interval_in_minutes)%> <% end %>
<%= t('sap_system_definitions.sap_system_definition.poll_is_disabled') %>
<%= t_label('sap_system_definitions.sap_system_definition.xbp_version_label') %> <%#
<%#<%= h @sap_system_definition.xbp_version %> <%#
<%= t_label('sap_system_definitions.index.xmi_audit_level') %>
<%= h @sap_system_definition.xmi_audit_level_name %>
<%= t('sap_system_definitions.edit_sld_registration_information.system_name_summary', :system_name => @sap_system_definition.sld_local_system_name, :computer_name => @sap_system_definition.sld_computer_name) %>
<%= t('sap_system_definitions.edit_sld_registration_information.not_registered') %>