summaryrefslogtreecommitdiff
path: root/views/layout.haml
diff options
context:
space:
mode:
Diffstat (limited to 'views/layout.haml')
-rw-r--r--views/layout.haml10
1 files changed, 5 insertions, 5 deletions
diff --git a/views/layout.haml b/views/layout.haml
index 38b4b4f..790c647 100644
--- a/views/layout.haml
+++ b/views/layout.haml
@@ -37,14 +37,14 @@
Problems, bugs, ideas for improvements ? Please report at our
%a{:href => 'https://github.com/opentox/lazar-gui/issues', :rel => "external"} issue tracker
, check out the
- %a{:href=> to("/predict/faq")} FAQ
+ %a{:href=> "//#{ENV['VIRTUAL_HOST']}/predict/faq"} FAQ
page or send us an email.
%a{ :href=>"mailto:info@in-silico.ch?subject=[lazar v#{@version}]", :target=>"_top"}
%span.fa.fa-envelope
[version: #{@version}]
%p
A graphical overview of the service API can be found
- %a{:href => "#{to('/api')}", :rel => "external"} here.
+ %a{:href => "//#{ENV['VIRTUAL_HOST']}/api", :rel => "external"} here.
Please cite
%a{ :href=>"https://doi.org/10.3389/fphar.2013.00038", :rel=>"external"}
%img{ :src=>"https://zenodo.org/badge/DOI/10.3389/zenodo.10.3389.svg", :alt=>"DOI"}
@@ -66,15 +66,15 @@
©
%a{:href => 'http://www.in-silico.ch', :rel => "external"} <i style="font-family: serife">in silico</i> toxicology gmbh 2004 - #{Time.now.year.to_s}
|
- %a{:href => to("/predict/license"), :rel => "external"} GPL3 License
+ %a{:href => "//#{ENV['VIRTUAL_HOST']}/predict/license", :rel => "external"} GPL3 License
%supporters.row
%div.card-body.text-center
%div.card-title
Financial support by
%div.card-text
- %a{:href=>"http://www.bfr.bund.de/de/start.html", :rel=>"external"}
+ %a{:href=>"https://www.bfr.bund.de/de/start.html", :rel=>"external"}
%img{:src=>"/images/bfr_logo.gif"}
- %a{:href=>"http://www.opentox.org/", :rel=>"external"}
+ %a{:href=>"https://www.opentox.org/", :rel=>"external"}
%img{:src=>"/images/ot_logo.png"}
%a{:href=>"https://enanomapper.net/", :rel=>"external"}
%img{:src=>"/images/enm_logo.png"}