Sha256: a2977371221b665d7c6c504309c34402fddcac08a4c6674874de5db0dc63e8e7

Contents?: true

Size: 982 Bytes

Versions: 4

Compression:

Stored size: 982 Bytes

Contents

:javascript
  $(document).ready(function(){
    addExternalLinks();
  });
%div.modal-body{:style=>"padding:10px;"}
  %button.close{ :type=>" button", data: { dismiss:"modal"}} ×
  %h3
    Names and synonyms:
  %p= embedded_svg(@compound.svg, :title=>"x")
  %p
  %b="SMILES:"
  %p= @smiles
  %br
  %b="InChI:"
  %p= @inchi
  %br
  - cid = @compound.cid
  - if cid
    %b="CID:"
    %p= cid
    %br
  %b="Names:"
  %p{:style=>"padding-left:0.5em;"}
  - if @names !~ /^no names/i
    = @names.join("; ")
  - else
    = @names
  %hr
  %p{:style=>"padding-left:0.5em;"}
    / pubchem link
    - if cid
      %a.btn.btn-primary{:href=>"http://aop.in-silico.ch/cid/#{cid}", :title=>"Link opens in new window.", :alt=>"pubchem read across", :rel=>"external"} PubChem read across 
    - else
      %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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
lazar-gui-1.4.2 views/details.haml
lazar-gui-1.4.1 views/details.haml
lazar-gui-1.4.0 views/details.haml
lazar-gui-1.4.0.pre.0 views/details.haml