Class: ODDB::View::Admin::PatinfoDeprivedSequencesList

Inherits:
HtmlGrid::List show all
Includes:
ODDB::View::AlphaHeader
Defined in:
src/view/admin/patinfo_deprived_sequences.rb

Constant Summary

BACKGROUND_SUFFIX =
' bg'
COMPONENTS =
{
  [0,0] => :nr,
  [1,0] => :name,
}
CSS_CLASS =
'composite'
CSS_MAP =
{
  [0,0,2] => 'list'
}
DEFAULT_CLASS =
HtmlGrid::Value
DEFAULT_HEAD_CLASS =
'th'
SORT_DEFAULT =
:name
STRIPED_BG =
true

Constants included from ODDB::View::AlphaHeader

EMPTY_LIST_KEY

Constants inherited from HtmlGrid::List

BACKGROUND_SUFFIX

Instance Method Summary (collapse)

Methods included from ODDB::View::AlphaHeader

#compose_header

Instance Method Details

- (Object) nr(model, session)



27
28
29
30
31
32
33
34
35
# File 'src/view/admin/patinfo_deprived_sequences.rb', line 27

def nr(model, session)
  link = HtmlGrid::Link.new(:select_seq, model, session, self)
  hash = { 
    :pointer         => model.pointer , 
  }
  link.href = @lookandfeel.event_url(:select_seq, hash)
  link.value = model.name_base
  link
end