52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
|
# File 'lib/oddb/html/view/head.rb', line 52
def welcome(model)
return unless @lookandfeel.enabled?(:welcome)
link = HtmlGrid::Link.new(:welcome_drugs, model, @session, self)
link.value.gsub!("\n", "<br>")
link.href = @lookandfeel.lookup(:screencast_url)
span = HtmlGrid::Span.new(model, @session, self)
span.css_id = "data_declaration"
span.value = @lookandfeel.lookup(:welcome_data_declaration)
span.dojo_title = [
@lookandfeel.lookup(:drugs_fixprices), "\n",
url_link("http://www.dimdi.de/static/de/amg/fbag/index.htm"),
"\n\n", @lookandfeel.lookup(:drugs_copay_free), "\n",
url_link("https://www.gkv-spitzenverband.de/Befreiungsliste_Arzneimittel_Versicherte.gkvnet"),
"\n\n", @lookandfeel.lookup(:drugs_atc_codes), "\n",
url_link("http://www.whocc.no/atcddd/"),
]
[ link, span ]
end
|