From 8b9ab245cc088f8cbde55217868fc05647246c7d Mon Sep 17 00:00:00 2001
From: zsloan
Date: Tue, 7 May 2019 16:02:51 -0500
Subject: Added link to GeneBridge to trait page

---
 wqflask/wqflask/templates/show_trait_details.html | 5 +++++
 1 file changed, 5 insertions(+)

(limited to 'wqflask')

diff --git a/wqflask/wqflask/templates/show_trait_details.html b/wqflask/wqflask/templates/show_trait_details.html
index 566ea7ca..abd487ec 100644
--- a/wqflask/wqflask/templates/show_trait_details.html
+++ b/wqflask/wqflask/templates/show_trait_details.html
@@ -98,6 +98,11 @@
                 GTEx Portal
             </a>
             &nbsp;&nbsp;
+            {% if (dataset.group.species == "mouse" or dataset.group.species == "human") and this_trait.symbol %}
+            <a href="https://www.systems-genetics.org/modules_by_gene/{{ this_trait.symbol }}?organism={{ dataset.group.species }}">
+                GeneBridge
+            </a>
+            {% endif %}
         {% endif %}
         </td>
     </tr>
-- 
cgit v1.2.3