diff options
author | zsloan | 2020-02-18 11:32:14 -0600 |
---|---|---|
committer | zsloan | 2020-02-18 11:32:14 -0600 |
commit | 9ef12c5cc5ec19f4f521cd1fc945cf1bef5bffa8 (patch) | |
tree | dbb821a1e903d0db1adc1be2e5972d03fdba3b3c | |
parent | e8ce0a3f0ac3d6e4b20b6646f6180d46584fb0cf (diff) | |
download | genenetwork2-9ef12c5cc5ec19f4f521cd1fc945cf1bef5bffa8.tar.gz |
Made links from search result pages open in new tabs for Rob
-rw-r--r-- | wqflask/wqflask/templates/gsearch_gene.html | 2 | ||||
-rw-r--r-- | wqflask/wqflask/templates/gsearch_pheno.html | 2 | ||||
-rw-r--r-- | wqflask/wqflask/templates/search_result_page.html | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/wqflask/wqflask/templates/gsearch_gene.html b/wqflask/wqflask/templates/gsearch_gene.html index 2d5d303c..556d46d3 100644 --- a/wqflask/wqflask/templates/gsearch_gene.html +++ b/wqflask/wqflask/templates/gsearch_gene.html @@ -176,7 +176,7 @@ 'data': null, 'orderDataType': "dom-inner-text", 'render': function(data, type, row, meta) { - return '<a href="/show_trait?trait_id=' + data.name + '&dataset=' + data.dataset + '">' + data.name + '</a>' + return '<a target="_blank" href="/show_trait?trait_id=' + data.name + '&dataset=' + data.dataset + '">' + data.name + '</a>' } }, { diff --git a/wqflask/wqflask/templates/gsearch_pheno.html b/wqflask/wqflask/templates/gsearch_pheno.html index c4e132d8..4d5238ef 100644 --- a/wqflask/wqflask/templates/gsearch_pheno.html +++ b/wqflask/wqflask/templates/gsearch_pheno.html @@ -173,7 +173,7 @@ 'type': "natural", 'data': null, 'render': function(data, type, row, meta) { - return '<a href="/show_trait?trait_id=' + data.name + '&dataset=' + data.dataset + '">' + data.display_name + '</a>' + return '<a target="_blank" href="/show_trait?trait_id=' + data.name + '&dataset=' + data.dataset + '">' + data.display_name + '</a>' } }, { diff --git a/wqflask/wqflask/templates/search_result_page.html b/wqflask/wqflask/templates/search_result_page.html index 093b8ed5..564d02ad 100644 --- a/wqflask/wqflask/templates/search_result_page.html +++ b/wqflask/wqflask/templates/search_result_page.html @@ -282,7 +282,7 @@ 'width': "60px", 'orderDataType': "dom-inner-text", 'render': function(data, type, row, meta) { - return '<a href="/show_trait?trait_id=' + data.name + '&dataset=' + data.dataset + '">' + data.display_name + '</a>' + return '<a target="_blank" href="/show_trait?trait_id=' + data.name + '&dataset=' + data.dataset + '">' + data.display_name + '</a>' } }{% if dataset.type == 'ProbeSet' %}, { |