From 31f5bcc0d28f1093b06b44639e3d3dc96fa4ac0a Mon Sep 17 00:00:00 2001 From: zsloan Date: Tue, 5 Feb 2019 11:00:22 -0600 Subject: Removed redundant header text from search page to save vertical space --- wqflask/wqflask/templates/search_result_page.html | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'wqflask') diff --git a/wqflask/wqflask/templates/search_result_page.html b/wqflask/wqflask/templates/search_result_page.html index 6fcbcb01..db6bc15d 100644 --- a/wqflask/wqflask/templates/search_result_page.html +++ b/wqflask/wqflask/templates/search_result_page.html @@ -8,12 +8,10 @@ {% endblock %} {% block content %} - {{ header("Search Results", - 'GeneNetwork found {}.'.format(numify(results|count, "record", "records"))) }} -
We searched {{ dataset.fullname }} to find all records @@ -39,12 +37,14 @@ {% 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] }}{% if loop.last %}.{% else %} and {% endif %} + that match the TERM {{ word.search_term[0] }}{% if loop.last %},{% else %} and {% endif %} {% endif %} {% endfor %} + and found {{ results|count }} records.
To study a record click on its ID below, and to view the whole description {% if dataset.type == "Publish" %}or list of authors {% endif %} hover over the table cell. Check records below and click Add button to add to selection.
+