Class: ODDB::View::ResultTemplate

Inherits:
PublicTemplate show all
Defined in:
src/view/resulttemplate.rb

Direct Known Subclasses

Admin::Addresses, Analysis::EmptyResult, Companies::RootCompanies, Companies::UnknownCompanies, Doctors::Doctors, Drugs::EmptyResult, Drugs::Fachinfos, Drugs::Feedbacks, Drugs::LimitationTexts, Drugs::Narcotics, Drugs::Patinfos, Drugs::PaymentMethod, Drugs::RecentRegs, Drugs::RegisterDownload, Drugs::RegisterInvoicedDownload, Drugs::Result, Drugs::ResultLimit, Drugs::Sequences, Drugs::Vaccines, Interactions::Basket, Interactions::Result, Limit, Migel::EmptyResult, Migel::Feedbacks, Notify, NotifyConfirm, Substances::EmptyResult, Substances::Result, Substances::Substances, User::DownloadExport, User::FiPiOfferConfirm, User::FiPiOfferInput, User::RegisterPowerUser, User::RenewPowerUser

Constant Summary

HEAD =
View::LogoHead
COMPONENTS =
{}

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 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



13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# File 'src/view/resulttemplate.rb', line 13

def init
  if(@lookandfeel.enabled?(:topfoot))
    @components = {
      [0,0]   => :topfoot,
      [0,1]   => :head,
      [0,2]   => :content,
      [0,3]   => :foot,
    }
  else
    @components = {
      [0,0]   => :head,
      [0,1]   => :content,
      [0,2]   => :foot,
    }
  end
  super
end