diff options
author | zsloan | 2016-10-17 17:48:55 +0000 |
---|---|---|
committer | zsloan | 2016-10-17 17:48:55 +0000 |
commit | 0d52804f6144eb9d3d01dae254c85806d05dd484 (patch) | |
tree | 6a5d02d80cbe2c5e6c82522eed2529931fbe616b /wqflask | |
parent | b15d37ca15256f5ee129ccc7b6dbf169e5f23352 (diff) | |
download | genenetwork2-0d52804f6144eb9d3d01dae254c85806d05dd484.tar.gz |
Fixed issue where period sometimes appeared incorrectly in search results text.
Changed formatting of a couple things in search results text (capitalizing/underlining "terms" and bolding the search term)
Changed "Gene" label on trait page to "NCBI" and removed GenBank link
Diffstat (limited to 'wqflask')
-rw-r--r-- | wqflask/wqflask/templates/search_result_page.html | 2 | ||||
-rw-r--r-- | wqflask/wqflask/templates/show_trait_details.html | 8 |
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> {% endif %} @@ -61,12 +61,6 @@ </a> {% 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> - - {% 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 |