diff options
author | Munyoki Kilyungi | 2024-01-10 16:22:21 +0300 |
---|---|---|
committer | BonfaceKilz | 2024-01-10 16:24:41 +0300 |
commit | 29aaaee759bbf8af68b73aa307e2a15330fa431a (patch) | |
tree | 7cc2c5d26af39bf629e1a20bee315829a2dd9dc3 /gn2/wqflask | |
parent | 30aa8d69884ea4f1904a424fde8a4083bc35a7d1 (diff) | |
download | genenetwork2-29aaaee759bbf8af68b73aa307e2a15330fa431a.tar.gz |
Add a compare button that shows the current genotype page.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Diffstat (limited to 'gn2/wqflask')
-rw-r--r-- | gn2/wqflask/templates/genotype.html | 7 |
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"> |