Class: ODDB::View::Admin::OrphanedPatinfoListInnerComposite

Inherits:
HtmlGrid::Composite show all
Includes:
OrphanedLanguages
Defined in:
src/view/admin/orphaned_patinfo.rb

Constant Summary

CSS_CLASS =
'component'
COMPONENTS =
{
  [0,0] => :languages,
  [1,0] => :meaning_index,
}
COMPONENT_CSS_MAP =
{
  [0,0] =>  'list',
  [1,0] =>  'small',
}

Instance Method Summary (collapse)

Methods included from OrphanedLanguages

#languages

Methods inherited from HtmlGrid::Composite

event_link, #hash_insert_col, #hash_insert_row

Instance Method Details

- (Object) list_index



40
41
42
# File 'src/view/admin/orphaned_patinfo.rb', line 40

def list_index
  @container.list_index
end

- (Object) meaning_index(model, session)



32
33
34
35
36
37
38
39
# File 'src/view/admin/orphaned_patinfo.rb', line 32

def meaning_index(model, session)
  link = HtmlGrid::Link.new(:choice, model, session, self)
  hash = { 
    :meaning_index => @container.list_index , 
  }
  link.href = @lookandfeel.event_url(:choice, hash)
  link
end