From 270bddf5081671cd1905d6cce6eb3659159f573a Mon Sep 17 00:00:00 2001 From: gebele Date: Fri, 16 Aug 2019 09:49:53 +0000 Subject: change hostname method --- views/layout.haml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'views/layout.haml') diff --git a/views/layout.haml b/views/layout.haml index 790c647..8547e13 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=> "//#{ENV['VIRTUAL_HOST']}/predict/faq"} FAQ + %a{:href=> "//#{$host_with_port}/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 => "//#{ENV['VIRTUAL_HOST']}/api", :rel => "external"} here. + %a{:href => "//#{$host_with_port}/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,7 +66,7 @@ © %a{:href => 'http://www.in-silico.ch', :rel => "external"} in silico toxicology gmbh 2004 - #{Time.now.year.to_s} | - %a{:href => "//#{ENV['VIRTUAL_HOST']}/predict/license", :rel => "external"} GPL3 License + %a{:href => "//#{$host_with_port}/predict/license", :rel => "external"} GPL3 License %supporters.row %div.card-body.text-center %div.card-title -- cgit v1.2.3