Class: ODDB::View::Drugs::PriceHistory

Inherits:
PrivateTemplate show all
Includes:
InsertBackbutton
Defined in:
src/view/drugs/price_history.rb

Constant Summary

CONTENT =
PriceHistoryComposite
SNAPBACK_EVENT =
:result

Constants inherited from PrivateTemplate

SEARCH_HEAD

Constants included from Snapback

SNAPBACK_EVENT

Constants inherited from PublicTemplate

COMPONENTS, CONTENT, CSS_CLASS, DOJO_DEBUG, DOJO_ENCODING, DOJO_PARSE_WIDGETS, DOJO_PREFIX, DOJO_REQUIRE, FOOT, HEAD, HTTP_HEADERS, META_TAGS

Instance Method Summary (collapse)

Methods included from InsertBackbutton

#back_button, #backtracking, #reorganize_components

Methods inherited from PrivateTemplate

#backtracking, #reorganize_components

Methods included from Snapback

#snapback

Methods inherited from PublicTemplate

#content, #css_link, #dynamic_html_headers, #foot, #head, #javascripts, #title, #title_part_three, #topfoot

Methods included from Custom::HeadMethods

#just_medical, #oekk_head

Instance Method Details

- (Object) init



119
120
121
122
123
124
125
126
# File 'src/view/drugs/price_history.rb', line 119

def init
  if pack = @model.package
    @model.pointer_descr = @lookandfeel.lookup(:price_history_for, pack.name)
  else
    @model.pointer_descr = @lookandfeel.lookup(:price_history)
  end
  super
end