ManageIQ/manageiq-ui-classic

View on GitHub
app/presenters/tree_node/menu/section.rb

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
module TreeNode
  module Menu
    class Section < TreeNode::Menu::Node
      set_attribute(:key) { "#{@tree.node_id_prefix}___tab_#{@object.id}" }
      set_attribute(:text) { _(@object.name) }
      set_attribute(:tooltip) { _("%{title} Main Tab") % {:title => @object.name} }
    end
  end
end