Class: ODDB::View::Admin::SlEntryComposite

Inherits:
HtmlGrid::Composite show all
Defined in:
src/view/admin/slentry.rb

Direct Known Subclasses

RootSlEntryComposite

Constant Summary

COMPONENTS =
{
  [0,0] =>  :package_name,
  [0,1] =>  View::Admin::SlEntryInnerComposite,
}
CSS_CLASS =
'composite'
CSS_MAP =
{
  [0,0] =>  'th',
}

Instance Method Summary (collapse)

Methods inherited from HtmlGrid::Composite

event_link, #hash_insert_col, #hash_insert_row

Instance Method Details

- (Object) package_name(model, session)



67
68
69
70
71
72
73
74
# File 'src/view/admin/slentry.rb', line 67

def package_name(model, session)
  package = model.parent(session.app)
  [
    package.name_base, 
    package.size, 
    @lookandfeel.lookup(:sl_entry),
  ].compact.join(' - ')
end