diff options
-rw-r--r-- | VERSION | 2 | ||||
-rw-r--r-- | application.rb | 1 | ||||
-rw-r--r-- | views/layout.haml | 5 |
3 files changed, 5 insertions, 3 deletions
@@ -1 +1 @@ -1.0.0 +1.0.1 diff --git a/application.rb b/application.rb index 1fa0663..b9c267c 100644 --- a/application.rb +++ b/application.rb @@ -25,6 +25,7 @@ get '/?' do end get '/predict/?' do + @version = File.read("VERSION").chomp @models = OpenTox::Model::Prediction.all @endpoints = @models.collect{|m| m.endpoint}.sort.uniq @models.count <= 0 ? (haml :info) : (haml :predict) diff --git a/views/layout.haml b/views/layout.haml index 13f351c..a40b68c 100644 --- a/views/layout.haml +++ b/views/layout.haml @@ -38,10 +38,11 @@ %div.row %div.col-md-8 Problems, bugs, ideas for improvements ? Please report at our - %a{:href => 'https://github.com/opentox/lazar-gui/issues', :rel => "external"} issue tracker. - or send us an email: + %a{:href => 'https://github.com/opentox/lazar-gui/issues', :rel => "external"} issue tracker + or send us an email %a{ :href=>"mailto:info@in-silico.ch", :target=>"_top"} %img.share{:src=>"/images/Email.png"} + (version #{@version}). %div.col-md-2 %div.col-md-2 %a{:href=>"https://twitter.com/intent/tweet?source=http%3A%2F%2Flazar.in-silico.ch&text=:%20http%3A%2F%2Flazar.in-silico.ch", :target=>"_blank", :title=>"Tweet"} |