summaryrefslogtreecommitdiff
path: root/views/details.haml
diff options
context:
space:
mode:
authorgebele <gebele@in-silico.ch>2016-12-07 12:07:13 +0000
committergebele <gebele@in-silico.ch>2016-12-07 12:07:13 +0000
commit55bf06381a42c9bb1e1e991e990f5d6e90c8e33e (patch)
tree44044577e36e00485aa5d73531d9d56747e5b742 /views/details.haml
parentb65956f3b250b4f10fe93b7d35924d21538cd6f5 (diff)
rebuild code for public release;prepared to work with lazar v1.0.0;reintroduced compound details
Diffstat (limited to 'views/details.haml')
-rw-r--r--views/details.haml6
1 files changed, 5 insertions, 1 deletions
diff --git a/views/details.haml b/views/details.haml
index bb8250d..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