Sha256: 04c84ae94347b700f8696263258af42b42cb6aa04946ca3abef4aeb9915a3f10

Contents?: true

Size: 537 Bytes

Versions: 84

Compression:

Stored size: 537 Bytes

Contents

class Marty::PostingWindow < Netzke::Window::Base
  def configure(c)
    super

    c.title 		= I18n.t('select_posting')
    c.modal 		= true
    c.items 		= [:posting_grid]
    c.lazy_loading 	= true
    c.width 		= 400
    c.height 		= 350
  end

  component :posting_grid do |c|
    c.klass			= Marty::PostingGrid
    c.rows_per_page		= 12
    c.permissions = {
      update:           false,
      delete:		true, # hijacked for selection
      create:		false,
    }
    # c.bbar	= []
  end

end

PostingWindow = Marty::PostingWindow

Version data entries

84 entries across 84 versions & 1 rubygems

Version Path
marty-1.0.26 app/components/marty/posting_window.rb
marty-1.0.25 app/components/marty/posting_window.rb
marty-1.0.24 app/components/marty/posting_window.rb
marty-1.0.23 app/components/marty/posting_window.rb
marty-1.0.22 app/components/marty/posting_window.rb
marty-1.0.20 app/components/marty/posting_window.rb
marty-1.0.19 app/components/marty/posting_window.rb
marty-1.0.18 app/components/marty/posting_window.rb
marty-1.0.17 app/components/marty/posting_window.rb
marty-1.0.15 app/components/marty/posting_window.rb
marty-1.0.14 app/components/marty/posting_window.rb
marty-1.0.13 app/components/marty/posting_window.rb
marty-1.0.12 app/components/marty/posting_window.rb
marty-1.0.11 app/components/marty/posting_window.rb
marty-1.0.10 app/components/marty/posting_window.rb
marty-1.0.9 app/components/marty/posting_window.rb
marty-1.0.8 app/components/marty/posting_window.rb
marty-1.0.7 app/components/marty/posting_window.rb
marty-1.0.6 app/components/marty/posting_window.rb
marty-1.0.5 app/components/marty/posting_window.rb