Class: ODDB::View::Drugs::EmptyResultComposite

Inherits:
HtmlGrid::Composite show all
Defined in:
src/view/drugs/result.rb

Constant Summary

COMPONENTS =
{
  [0,0]   => SelectSearchForm,
  [0,1]   => :title_none_found,
  [0,2]   => 'e_empty_result',
  [0,3]   => 'explain_search',
}
CSS_MAP =
{
  [0,0]     =>  'search',  
  [0,1]     =>  'th',
  [0,2,1,2] =>  'list atc',
}
CSS_CLASS =
'composite'

Instance Method Summary (collapse)

Methods inherited from HtmlGrid::Composite

event_link, #hash_insert_col, #hash_insert_row

Instance Method Details

- (Object) title_none_found(model, session)



185
186
187
188
# File 'src/view/drugs/result.rb', line 185

def title_none_found(model, session)
  query = session.persistent_user_input(:search_query)
  @lookandfeel.lookup(:title_none_found, query)
end