Sha256: 814806d9bceba3fefa07224c613708e67daabf308df33df6bdbed08f300410dc

Contents?: true

Size: 536 Bytes

Versions: 74

Compression:

Stored size: 536 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 		= 600
    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

74 entries across 74 versions & 1 rubygems

Version Path
marty-2.3.15 app/components/marty/posting_window.rb
marty-2.3.14 app/components/marty/posting_window.rb
marty-2.3.13 app/components/marty/posting_window.rb
marty-2.3.12 app/components/marty/posting_window.rb
marty-2.3.11 app/components/marty/posting_window.rb
marty-2.3.10 app/components/marty/posting_window.rb
marty-2.3.9 app/components/marty/posting_window.rb
marty-2.3.8 app/components/marty/posting_window.rb
marty-2.3.7 app/components/marty/posting_window.rb
marty-2.3.5 app/components/marty/posting_window.rb
marty-2.3.4 app/components/marty/posting_window.rb
marty-2.3.2 app/components/marty/posting_window.rb
marty-2.3.1 app/components/marty/posting_window.rb
marty-2.3.0 app/components/marty/posting_window.rb