diff options
Diffstat (limited to 'views/feature_table.haml')
-rw-r--r-- | views/feature_table.haml | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/views/feature_table.haml b/views/feature_table.haml index a8a153f..7c57331 100644 --- a/views/feature_table.haml +++ b/views/feature_table.haml @@ -2,7 +2,11 @@ - unless features[:activating].empty? %tr %th - activating + - if @value_map.empty? + activating + - else + predominatly in compounds with activity + = "\"#{@value_map[@value_map.keys.sort.last]}\"" ( %a{:href => "http://www.daylight.com/dayhtml/doc/theory/theory.smarts.html", :rel => "external"} SMARTS ) @@ -15,7 +19,11 @@ - unless features[:deactivating].empty? %tr %th - deactivating + - if @value_map.empty? + deactivating + - else + predominatly in compounds with activity + = "\"#{@value_map[@value_map.keys.sort.first]}\"" ( %a{:href => "http://www.daylight.com/dayhtml/doc/theory/theory.smarts.html", :rel => "external"} SMARTS ) |