aboutsummaryrefslogtreecommitdiff
path: root/gn2/wqflask/templates
diff options
context:
space:
mode:
authorJohn Nduli2024-10-14 16:08:49 +0300
committerBonfaceKilz2024-10-15 18:17:12 +0300
commit94ecee4a2030cdfcb79776276a73d53fd73ae2a3 (patch)
tree05fdf13af8bce7b0c6c3c5b9f5b67d418090c9e5 /gn2/wqflask/templates
parentabe324888fc3942d4b3469ec8d1ce2c7dcbd8a93 (diff)
downloadgenenetwork2-94ecee4a2030cdfcb79776276a73d53fd73ae2a3.tar.gz
feat: add gn2 button to link to editting
Diffstat (limited to 'gn2/wqflask/templates')
-rw-r--r--gn2/wqflask/templates/show_trait_details.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/gn2/wqflask/templates/show_trait_details.html b/gn2/wqflask/templates/show_trait_details.html
index dc5a49ce..ab2efa04 100644
--- a/gn2/wqflask/templates/show_trait_details.html
+++ b/gn2/wqflask/templates/show_trait_details.html
@@ -222,6 +222,7 @@
<button type="button" class="btn btn-default" title="Check probe locations at UCSC" onclick="window.open('{{ UCSC_BLAT_URL }}', '_blank')">Verify</button>
{% endif %}
{% if this_trait.symbol != None %}
+ <button type="button" class="btn btn-default" title="Write or review comments about this gene" onclick="window.open('http://localhost:5012/genewiki/{{ this_trait.symbol }}', '_blank')">(GN2) GeneWiki</button>
<button type="button" class="btn btn-default" title="Write or review comments about this gene" onclick="window.open('http://gn1.genenetwork.org/webqtl/main.py?FormID=geneWiki&symbol={{ this_trait.symbol }}', '_blank')">(GN1) GeneWiki</button>
{% if dataset.group.species == "mouse" or dataset.group.species == "rat" %}
<button type="button" class="btn btn-default" title="View SNPs and Indels" onclick="window.open('/snp_browser?first_run=true&species={{ dataset.group.species }}&gene_name={{ this_trait.symbol }}&limit_strains=on', '_blank')">SNPs</button>