Sha256: 8366b5246536dececda9dd98ba614edcf83dbffc128319fa69e52674cb5fa9cb

Contents?: true

Size: 282 Bytes

Versions: 3

Compression:

Stored size: 282 Bytes

Contents

# Initially adds a Dashboard tab, which stays open at all times
class TabPanelWithDashboard < SomeTabPanel
  def configure(c)
    super c
    c.items = [:dashboard, *c.items]
  end

  component :dashboard do |c|
    c.klass = Netzke::Core::Panel
    c.title = "Dashboard"
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
netzke-workspace-0.10.2 spec/rails_app/app/components/tab_panel_with_dashboard.rb
netzke-workspace-0.10.1 spec/rails_app/app/components/tab_panel_with_dashboard.rb
netzke-workspace-0.10.0 spec/rails_app/app/components/tab_panel_with_dashboard.rb