Class: ODDB::View::Admin::ReadonlyPatentComposite

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

Direct Known Subclasses

PatentComposite

Constant Summary

COMPONENTS =
{
  [0,0] =>  :registration_name,
  [0,1] =>  PatentInnerComposite,
}
CSS_MAP =
{
  [0,0] =>  'th',
}
CSS_CLASS =
'composite'
LEGACY_INTERFACE =
false

Instance Method Summary (collapse)

Methods inherited from HtmlGrid::Composite

event_link, #hash_insert_col, #hash_insert_row

Instance Method Details

- (Object) registration_name(model, session = @session)



99
100
101
102
103
104
105
# File 'src/view/admin/patent.rb', line 99

def registration_name(model, session=@session)
  registration = model.parent(@session.app)
  [
    registration.name_base, 
    @lookandfeel.lookup(:patent),
  ].compact.join(' - ')
end