aboutsummaryrefslogtreecommitdiff
path: root/gn2/wqflask
diff options
context:
space:
mode:
authorMunyoki Kilyungi2024-01-08 19:09:33 +0300
committerBonfaceKilz2024-01-08 19:23:48 +0300
commit0756d7b48fe7b8e9abf4485caf8938575d54185f (patch)
tree327ab746b2563301e7f8168991b58ee230a9426c /gn2/wqflask
parentec3c483b7feef3e36ce467ec35efd57f316031b0 (diff)
downloadgenenetwork2-0756d7b48fe7b8e9abf4485caf8938575d54185f.tar.gz
Add a compare button that shows the current probeset page.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Diffstat (limited to 'gn2/wqflask')
-rw-r--r--gn2/wqflask/templates/probeset.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/gn2/wqflask/templates/probeset.html b/gn2/wqflask/templates/probeset.html
index 327870c8..f3724ce8 100644
--- a/gn2/wqflask/templates/probeset.html
+++ b/gn2/wqflask/templates/probeset.html
@@ -22,6 +22,10 @@ mRNA Expression:
mRNA Expression:
{{ metadata.name or name }}
</h2>
+ {% if name and dataset %}
+ <a href={{ url_for('show_trait_page', dataset=dataset, trait_id=name) }} target="blank">[compare]</a>
+ {% endif %}
+
{% if metadata.description %}
<h3>{{ metadata.description }}</h3>
{% endif %}