From 12002a6390b10c3c12462936484ba967da2478e4 Mon Sep 17 00:00:00 2001 From: gebele Date: Tue, 10 Mar 2015 16:58:49 +0100 Subject: marked links >;resize body if large table;setup sdf --- views/neighbors.haml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'views/neighbors.haml') diff --git a/views/neighbors.haml b/views/neighbors.haml index 603f920..33ea688 100644 --- a/views/neighbors.haml +++ b/views/neighbors.haml @@ -98,7 +98,7 @@ %tr %td.compound %a{:href => to("/prediction/#{CGI.escape(neighbor_compound.uri)}/details"), :id=>"link#{count_rs}#{count}", :target=>"details"} - Names and synonymes + Names and synonymes > %img{:src=>"#{neighbor_compound.uri}/image", :alt=>"Compound image not available", :title=>"#{neighbor_compound.smiles}", :width=>"150px"} %td - if c.class == String @@ -110,7 +110,7 @@ %td - if @type =~ /classification/i - if p.data_entries[count][3] != nil - %a{:href => to("/prediction/#{CGI.escape(@model_uri)}/#{@type}/#{CGI.escape(neighbor_compound.uri)}/significant_fragments"), :id=>"link#{count_rs}#{count}sf", :target=>"details"} Significant fragments + %a{:href => to("/prediction/#{CGI.escape(@model_uri)}/#{@type}/#{CGI.escape(neighbor_compound.uri)}/significant_fragments"), :id=>"link#{count_rs}#{count}sf", :target=>"details"} Significant fragments > - if @type =~ /regression/i - if p.data_entries[count][3] != nil %a{:href => to("/prediction/#{CGI.escape(@model_uri)}/#{@type}/#{CGI.escape(neighbor_compound.uri)}/significant_fragments"), :id=>"link#{count_rs}#{count}sf", :target=>"details"} Descriptors -- cgit v1.2.3