aboutsummaryrefslogtreecommitdiff
path: root/gn2/wqflask
diff options
context:
space:
mode:
Diffstat (limited to 'gn2/wqflask')
-rw-r--r--gn2/wqflask/templates/genotype.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/gn2/wqflask/templates/genotype.html b/gn2/wqflask/templates/genotype.html
index 0d39257f..bce3a808 100644
--- a/gn2/wqflask/templates/genotype.html
+++ b/gn2/wqflask/templates/genotype.html
@@ -14,6 +14,13 @@
<h2 class="page-header">
Genotype: {{ metadata.name or name }}
+ <small>
+ {% if name and metadata.dataset %}
+ <sup>
+ <a href={{ url_for('show_trait_page', dataset=metadata.dataset, trait_id=name) }} target="blank">[compare]</a>
+ </sup>
+ {% endif %}
+ </small>
</h2>
<div class="container">