app/helpers/application_helper.rb
# Calculate hash of toolbars to render
#
# keys are toolbar <div> names and values are toobar identifiers (now YAML files)
#
Calculate hash of toolbars to render
keys are toolbar  names and values are toobar identifiers (now YAML files)
Calculate hash of toolbars to render keys are toolbar names and values are toobar identifiers ( now YAML files )
def calculate_toolbars
    toolbars = {}
    if inner_layout_present? 
      toolbars['history_tb'] = history_toolbar_filename
    elsif display_back_button? 
      toolbars['summary_center_tb'] = controller.restful? ? "summary_center_restful_tb" : "summary_center_tb"
    end
    toolbars['center_tb'] = center_toolbar_filename
    if fname = custom_toolbar_filename
      toolbars['custom_tb'] = fname
    end
    toolbars['view_tb'] = inner_layout_present? ? x_view_toolbar_filename : view_toolbar_filename
    toolbars
  end
def calculate_toolbars toolbars = { } if inner_layout_present? toolbars [ 'history_tb' ] = history_toolbar_filename elsif display_back_button? toolbars [ 'summary_center_tb' ] = controller . restful? ? "summary_center_restful_tb" : "summary_center_tb" end toolbars [ 'center_tb' ] = center_toolbar_filename if fname = custom_toolbar_filename toolbars [ 'custom_tb' ] = fname end toolbars [ 'view_tb' ] = inner_layout_present? ? x_view_toolbar_filename : view_toolbar_filename toolbars end
Calculate hash of toolbars to render
keys are toolbar <div> names and values are toobar identifiers (now YAML files)
Calculate hash of toolbars to render keys are toolbar <div > names and values are toobar identifiers ( now YAML files )
# x_taskbar branch # taskbar branch