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-3.1.0 app/components/marty/posting_window.rb
marty-3.0.1 app/components/marty/posting_window.rb
marty-4.0.0.rc2 app/components/marty/posting_window.rb
marty-3.0.0 app/components/marty/posting_window.rb
marty-2.9.3 app/components/marty/posting_window.rb
marty-2.9.2 app/components/marty/posting_window.rb
marty-2.9.1 app/components/marty/posting_window.rb
marty-2.8.0 app/components/marty/posting_window.rb
marty-2.7.3 app/components/marty/posting_window.rb
marty-2.7.2 app/components/marty/posting_window.rb
marty-2.7.1 app/components/marty/posting_window.rb
marty-2.7.0 app/components/marty/posting_window.rb
marty-2.6.8 app/components/marty/posting_window.rb
marty-2.6.7 app/components/marty/posting_window.rb
marty-2.6.6 app/components/marty/posting_window.rb
marty-2.6.5 app/components/marty/posting_window.rb
marty-2.6.4 app/components/marty/posting_window.rb
marty-2.6.3 app/components/marty/posting_window.rb
marty-2.6.2 app/components/marty/posting_window.rb
marty-2.6.1 app/components/marty/posting_window.rb