diff options
author | gebele <gebele@in-silico.ch> | 2013-03-18 12:36:39 +0100 |
---|---|---|
committer | gebele <gebele@in-silico.ch> | 2013-03-18 12:36:39 +0100 |
commit | 8c893bcb65d0d460a26918a053e80d95828208f7 (patch) | |
tree | 1cec8ee0b4cd85c0d08d7d062e75d5f3e3630d59 | |
parent | 3dd7fd382e6de383055c81d926de6133404a1c7a (diff) |
rename links
-rw-r--r-- | TODO | 1 | ||||
-rw-r--r-- | helper.rb | 2 | ||||
-rw-r--r-- | views/layout.haml | 2 |
3 files changed, 3 insertions, 2 deletions
@@ -6,3 +6,4 @@ - catch error if compound names unavailable - external links - add info hovers +- display notice 'sth went wrong' @@ -16,7 +16,7 @@ helpers do def hide_link(destination) @link_id = 0 unless @link_id @link_id += 1 - haml :js_link, :locals => {:name => "close", :destination => destination, :method => "hide"}, :layout => false + haml :js_link, :locals => {:name => "hide", :destination => destination, :method => "hide"}, :layout => false end def toggle_link(destination,name) diff --git a/views/layout.haml b/views/layout.haml index 1e4938d..6366ae6 100644 --- a/views/layout.haml +++ b/views/layout.haml @@ -12,7 +12,7 @@ %body .logo - %a{:href=> to('/predict')} + %a{:href=> "http://www.in-silico.ch/", :target=>"_blank"} %img{:src=>"/images/ist_logo.png"} %h1 Lazar Toxicity Predictions |