aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorPjotr Prins2016-10-18 05:16:14 +0000
committerGitHub2016-10-18 05:16:14 +0000
commit6022419b308fc611e26bf33c9a5ec415434bb9b7 (patch)
tree6a5d02d80cbe2c5e6c82522eed2529931fbe616b /wqflask
parentb15d37ca15256f5ee129ccc7b6dbf169e5f23352 (diff)
parent0d52804f6144eb9d3d01dae254c85806d05dd484 (diff)
downloadgenenetwork2-6022419b308fc611e26bf33c9a5ec415434bb9b7.tar.gz
Merge pull request #213 from zsloan/development
Fixed issue where period sometimes appeared incorrectly in search res…
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/wqflask/templates/search_result_page.html2
-rw-r--r--wqflask/wqflask/templates/show_trait_details.html8
2 files changed, 2 insertions, 8 deletions
diff --git a/wqflask/wqflask/templates/search_result_page.html b/wqflask/wqflask/templates/search_result_page.html
index 523037f8..708c83eb 100644
--- a/wqflask/wqflask/templates/search_result_page.html
+++ b/wqflask/wqflask/templates/search_result_page.html
@@ -41,7 +41,7 @@
{% elif word.key|lower == "position" %}
with <u>target genes</u> on chromosome <strong>{% if word.search_term[0].split('chr')|length > 1 %}{{ word.search_term[0].split('chr')[1] }}{% elif word.search_term[0].split('CHR')|length > 1 %}{{ word.search_term[0].split('CHR')[1] }}{% else %}{{ word.search_term[0] }}{% endif %}</strong> between <strong>{{ word.search_term[1] }}</strong> and <strong>{{ word.search_term[2] }}</strong> Mb{% if loop.last %}.{% else %} and {% endif %}
{% else %}
- that match the term {{ word.search_term[0] }}.
+ that match the <u>TERM</u> <b>{{ word.search_term[0] }}</b>{% if loop.last %}.{% else %} and {% endif %}
{% endif %}
{% endfor %}
</p>
diff --git a/wqflask/wqflask/templates/show_trait_details.html b/wqflask/wqflask/templates/show_trait_details.html
index d5fb0cf2..017a88ae 100644
--- a/wqflask/wqflask/templates/show_trait_details.html
+++ b/wqflask/wqflask/templates/show_trait_details.html
@@ -51,7 +51,7 @@
<td>
{% if this_trait.geneid != None %}
<a href="http://www.ncbi.nlm.nih.gov/entrez/query.fcgi?db=gene&cmd=Retrieve&dopt=Graphics&list_uids={{ this_trait.geneid }}" title="Info from NCBI Entrez Gene">
- Gene
+ NCBI
</a>
&nbsp;&nbsp;
{% endif %}
@@ -61,12 +61,6 @@
</a>
&nbsp;&nbsp;
{% endif %}
- {% if this_trait.genbankid != None %}
- <a href="http://www.ncbi.nlm.nih.gov/entrez/query.fcgi?db=Nucleotide&cmd=search&doptcmdl=DocSum&term={{ this_trait.genbankid }}" title="Find the original GenBank sequence used to design the probes">
- GenBank
- </a>
- &nbsp;&nbsp;
- {% endif %}
{% if this_trait.symbol != None %}
<a href="http://www.genotation.org/Getd2g.pl?gene_list={{ this_trait.symbol }}" title="Related descriptive, genomic, clinical, functional and drug-therapy information">
Genotation