diff options
author | gebele <gebele@in-silico.ch> | 2019-08-16 09:49:53 +0000 |
---|---|---|
committer | gebele <gebele@in-silico.ch> | 2019-08-16 09:49:53 +0000 |
commit | 270bddf5081671cd1905d6cce6eb3659159f573a (patch) | |
tree | 86dd2db590b86185cce8f52cefb2b7fba0fb9623 /views/prediction.haml | |
parent | 74332693fed1d5ecb695dd6ae0c2fc611d14c4d7 (diff) |
change hostname method
Diffstat (limited to 'views/prediction.haml')
-rw-r--r-- | views/prediction.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/views/prediction.haml b/views/prediction.haml index 19f5caf..44d5fa8 100644 --- a/views/prediction.haml +++ b/views/prediction.haml @@ -1,5 +1,5 @@ %div.card - %a.btn.btn-outline-info{:href => "//#{ENV['VIRTUAL_HOST']}/predict"} + %a.btn.btn-outline-info{:href => "//#{$host_with_port}/predict"} %span.fa.fa-caret-left New Prediction %div.card.bg-light @@ -10,7 +10,7 @@ %tbody %tr %td.align-items-center{:id=>"compound"} - %a.btn.btn-link{:href => "#details0", data: { toggle: "modal", remote: "//#{ENV['VIRTUAL_HOST']}/prediction/#{@compound.id}/details", :id=>"link01"}} + %a.btn.btn-link{:href => "#details0", data: { toggle: "modal", remote: "//#{$host_with_port}/prediction/#{@compound.id}/details", :id=>"link01"}} = embedded_svg(@compound.svg, :title=>"click for details") %p= @compound.smiles - if @compound.cid && @compound.cid != "0" |