summaryrefslogtreecommitdiff
path: root/views/lazar.haml
diff options
context:
space:
mode:
authormr <mr@mrautenberg.de>2011-03-24 13:57:07 +0100
committermr <mr@mrautenberg.de>2011-03-24 13:57:07 +0100
commit592f509ec22dd3f742ee530c7b1692b1af05e528 (patch)
tree0322f9332db56a696282cf54c165663de7a3e1b1 /views/lazar.haml
parent0ed50191f815fce11816044864a045a31194d8b4 (diff)
external links with rel='external' for w3c compliance
Diffstat (limited to 'views/lazar.haml')
-rw-r--r--views/lazar.haml10
1 files changed, 5 insertions, 5 deletions
diff --git a/views/lazar.haml b/views/lazar.haml
index 3de7400..d52a645 100644
--- a/views/lazar.haml
+++ b/views/lazar.haml
@@ -36,13 +36,13 @@
%li= toggle_link("#fragments","Significant fragments")
-# This does not work, ask nina/vedrin
-# %li
- %a{:href => "http://ambit.uni-plovdiv.bg:8080/ambit2/query/structure/?search=#{@compound.smiles}"} Ambit data
+ %a{:href => "http://ambit.uni-plovdiv.bg:8080/ambit2/query/structure/?search=#{@compound.smiles}", :rel => "external"} Ambit data
-# %li
- %a{:href => "http://www.ncbi.nlm.nih.gov/sites/entrez?cmd=PureSearch&db=pccompound&term=#{URI.encode('"'+@compound.inchi+'"[InChI]')}"} PubChem data
- (external)
+ %a{:href => "http://www.ncbi.nlm.nih.gov/sites/entrez?cmd=PureSearch&db=pccompound&term=#{URI.encode('"'+@compound.inchi+'"[InChI]')}", :rel => "external"} PubChem data
+ (external)
-# %li
- %a{:href => "http://chem.sis.nlm.nih.gov/chemidplus/direct.jsp?result=advanced&inchi=#{URI.encode @compound.inchi}"} ToxNet data
- -#http://chem.sis.nlm.nih.gov/chemidplus/direct.jsp?result=advanced&regno=000143157
+ %a{:href => "http://chem.sis.nlm.nih.gov/chemidplus/direct.jsp?result=advanced&inchi=#{URI.encode @compound.inchi}", :rel => "external"} ToxNet data
+ -#http://chem.sis.nlm.nih.gov/chemidplus/direct.jsp?result=advanced&regno=000143157
%tr#names{ :style => "display: none;" }
%td{:colspan => '4'}