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-2.1.5 app/components/marty/posting_window.rb
marty-2.1.4 app/components/marty/posting_window.rb
marty-2.1.3 app/components/marty/posting_window.rb
marty-2.1.2 app/components/marty/posting_window.rb
marty-2.1.1 app/components/marty/posting_window.rb
marty-2.1.0 app/components/marty/posting_window.rb
marty-2.0.9 app/components/marty/posting_window.rb
marty-2.0.8 app/components/marty/posting_window.rb
marty-2.0.7 app/components/marty/posting_window.rb
marty-2.0.6 app/components/marty/posting_window.rb
marty-2.0.5 app/components/marty/posting_window.rb
marty-2.0.4 app/components/marty/posting_window.rb
marty-2.0.3 app/components/marty/posting_window.rb
marty-2.0.2 app/components/marty/posting_window.rb
marty-2.0.1 app/components/marty/posting_window.rb
marty-2.0.0 app/components/marty/posting_window.rb
marty-1.2.9 app/components/marty/posting_window.rb
marty-1.2.8 app/components/marty/posting_window.rb
marty-1.2.7 app/components/marty/posting_window.rb
marty-1.2.6 app/components/marty/posting_window.rb