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.6.0 app/components/marty/posting_window.rb
marty-2.5.9 app/components/marty/posting_window.rb
marty-2.5.8 app/components/marty/posting_window.rb
marty-2.5.7 app/components/marty/posting_window.rb
marty-2.5.6 app/components/marty/posting_window.rb
marty-2.5.5 app/components/marty/posting_window.rb
marty-2.5.4 app/components/marty/posting_window.rb
marty-2.5.2 app/components/marty/posting_window.rb
marty-2.5.1 app/components/marty/posting_window.rb
marty-2.5.0 app/components/marty/posting_window.rb
marty-2.4.9 app/components/marty/posting_window.rb
marty-2.4.8 app/components/marty/posting_window.rb
marty-2.4.7 app/components/marty/posting_window.rb
marty-2.4.6 app/components/marty/posting_window.rb
marty-2.4.5 app/components/marty/posting_window.rb
marty-2.4.4 app/components/marty/posting_window.rb
marty-2.4.3 app/components/marty/posting_window.rb
marty-2.4.2 app/components/marty/posting_window.rb
marty-2.4.1 app/components/marty/posting_window.rb
marty-2.4.0 app/components/marty/posting_window.rb