From 0d52804f6144eb9d3d01dae254c85806d05dd484 Mon Sep 17 00:00:00 2001 From: zsloan Date: Mon, 17 Oct 2016 17:48:55 +0000 Subject: 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 --- wqflask/wqflask/templates/search_result_page.html | 2 +- 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 target genes on chromosome {% 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 %} between {{ word.search_term[1] }} and {{ word.search_term[2] }} Mb{% if loop.last %}.{% else %} and {% endif %} {% else %} - that match the term {{ word.search_term[0] }}. + that match the TERM {{ word.search_term[0] }}{% if loop.last %}.{% else %} and {% endif %} {% endif %} {% endfor %}

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 @@ {% if this_trait.geneid != None %} - Gene + NCBI    {% endif %} @@ -61,12 +61,6 @@    {% endif %} - {% if this_trait.genbankid != None %} - - GenBank - -    - {% endif %} {% if this_trait.symbol != None %} Genotation -- cgit v1.2.3