Class: ODDB::LookandfeelMobile

Inherits:
SBSM::LookandfeelWrapper show all
Defined in:
src/custom/lookandfeelwrapper.rb

Constant Summary

ENABLED =
[
   :atc_chooser,
   :breadcrumbs,
   :companylist,
   :data_counts,
   :drugs,
   :fachinfos,
   :faq_link,
   :feedback,
   :help_link,
   :home,
   :home_drugs,
   :download_export,
   :legal_note_vertical,
   :limitation_texts,
   :login_form,
   :logo,
   :logout,
   :patinfos, 
   :query_limit,
   :recent_registrations,
   :search_reset,
   :sequences,
   :topfoot,
   :user,
   :ywesee_contact,
]

Constants inherited from SBSM::LookandfeelWrapper

RESULT_FILTER

Instance Method Summary (collapse)

Methods inherited from SBSM::LookandfeelWrapper

#format_price, #has_result_filter?, #result_filter

Instance Method Details

- (Object) explain_result_components



752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
# File 'src/custom/lookandfeelwrapper.rb', line 752

def explain_result_components
  {
    [0,0]  => :explain_original,
    [0,1]  => :explain_generic,
    [0,2]  => 'explain_unknown',
    [0,3]  => 'explain_expired',
    [0,4]  => :explain_complementary,
    [0,5]  => :explain_homeopathy,
    [0,6]  => :explain_anthroposophy,
    [0,7]  => :explain_phytotherapy,
    [0,8]  => :explain_cas,
    [0,9]  => :explain_parallel_import,
    [0,10] => :explain_comarketing,
    [0,11] => :explain_narc,
    [0,12] => :explain_google_search,
    [0,13] => :explain_feedback,
    [1,0]  => :explain_vaccine,
    [1,1]  => :explain_minifi,
    [1,2]  => :explain_fachinfo,
    [1,3]  => :explain_patinfo,
    [1,4]  => :explain_limitation,
    [1,5]  => :explain_ddd_price,
    [1,6]  => 'explain_efp',
    [1,7]  => 'explain_pbp',
    [1,8]  => 'explain_pr',
    [1,9]  => 'explain_sl',
    [1,10] => 'explain_slo',
    [1,11] => 'explain_slg',
    [1,12] => :explain_lppv,
  }
end

- (Object) result_list_components



729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
# File 'src/custom/lookandfeelwrapper.rb', line 729

def result_list_components
  {
    [0,0]   => :limitation_text,
    [1,0]   =>  :minifi,
    [2,0]   =>  :fachinfo,
    [3,0]   => :patinfo,
    [4,0,0] =>  :narcotic,
    [4,0,1] =>  :complementary_type,
    [4,0,2] =>  :comarketing,
    [5,0,0] =>  'result_item_start',
    [5,0,1] =>  :name_base,
    [5,0,2] =>  'result_item_end',
    [6,0]   => :comparable_size,
    [7,0]   => :price_exfactory,
    [8,0] =>  :price_public,
    [9,0] =>  :ddd_price,
    [10,0]  => :compositions,
    [11,0]  => :ikscat,
    [12,0]  => :feedback,
    [13,0]  =>  :google_search,
    [14,0]  => :notify,
  }
end