summaryrefslogtreecommitdiff
path: root/views/details.haml
diff options
context:
space:
mode:
authorgebele <gebele@in-silico.ch>2017-01-16 16:55:31 +0000
committergebele <gebele@in-silico.ch>2017-01-16 16:55:31 +0000
commit1106dbf48614d5329d601e12e53684ac6bd4188c (patch)
tree94dc3f6a2b6d7f634a24ce169b89b49bb85538bd /views/details.haml
parent052e7689a6a79594ad89e6141190e0b40033fd9d (diff)
parente6b8488b757f1d6036fd74b75f44d8c75ed3779f (diff)
merged development1.1.1
Diffstat (limited to 'views/details.haml')
-rw-r--r--views/details.haml8
1 files changed, 6 insertions, 2 deletions
diff --git a/views/details.haml b/views/details.haml
index 8a57440..be4948a 100644
--- a/views/details.haml
+++ b/views/details.haml
@@ -1,8 +1,12 @@
+:javascript
+ $(document).ready(function(){
+ addExternalLinks();
+ });
%div.modal-body{:style=>"padding:10px;"}
%button.close{ :type=>" button", data: { dismiss:"modal"}} &times;
%h3
Names and synonyms:
- %img.img-responsive{:src=>"#{@compound.uri}/image", :alt=>"Compound image not available", :width=>"300px", :heigth=>"300px", :style=>"float:left;"}
+ %p= @compound.svg
%p
%b="SMILES:"
%p= @smiles
@@ -19,6 +23,6 @@
%hr
%p{:style=>"padding-left:0.5em;"}
/ pubchem link
- %a.btn.btn-primary{:href=>"http://aop.in-silico.ch/", :title=>"Link opens in new window.", :alt=>"pubchem read across", :target=>"_blank"} PubChem read across
+ %a.btn.btn-primary{:href=>"http://aop.in-silico.ch/", :title=>"Link opens in new window.", :alt=>"pubchem read across", :rel=>"external"} PubChem read across
%i (experimental)
%br