app/presenters/tree_builder_configuration_manager_configured_systems.rb
# Get root nodes count/array for explorer tree
Get root nodes count/array for explorer tree
Get root nodes count / array for explorer tree
def x_get_tree_roots(count_only, _options)
    objects = []
    objects.push(:id            => "csf",
                 :text          => _("Foreman Configured Systems"),
                 :image         => "folder",
                 :tip           => _("Foreman Configured Systems"),
                 :load_children => true)
    objects.push(:id            => "csa",
                 :text          => _("Ansible Tower Configured Systems"),
                 :image         => "folder",
                 :tip           => _("Ansible Tower Configured Systems"),
                 :load_children => true)
    objects.push(:id          => "global",
                 :text        => _("Global Filters"),
                 :image       => "folder",
                 :tip         => _("Global Shared Filters"),
                 :cfmeNoClick => true)
    objects.push(:id          => "my",
                 :text        => _("My Filters"),
                 :image       => "folder",
                 :tip         => _("My Personal Filters"),
                 :cfmeNoClick => true)
    count_only_or_objects(count_only, objects, nil)
  end
def x_get_tree_roots ( count_only , _options ) objects = [ ] objects . push ( :id => "csf" , :text => _ ( "Foreman Configured Systems" ) , :image => "folder" , :tip => _ ( "Foreman Configured Systems" ) , :load_children => true ) objects . push ( :id => "csa" , :text => _ ( "Ansible Tower Configured Systems" ) , :image => "folder" , :tip => _ ( "Ansible Tower Configured Systems" ) , :load_children => true ) objects . push ( :id => "global" , :text => _ ( "Global Filters" ) , :image => "folder" , :tip => _ ( "Global Shared Filters" ) , :cfmeNoClick => true ) objects . push ( :id => "my" , :text => _ ( "My Filters" ) , :image => "folder" , :tip => _ ( "My Personal Filters" ) , :cfmeNoClick => true ) count_only_or_objects ( count_only , objects , nil ) end
Get root nodes count/array for explorer tree
Get root nodes count / array for explorer tree
count_only
<not_specific>
_options
<not_specific>