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(-)

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 %}
 <!-- Start of body -->
-    {{ header("Search Results",
-        'GeneNetwork found {}.'.format(numify(results|count, "record", "records"))) }}
-
     <div style="padding-left: 10px;">
         <input type="hidden" name="uc_id" id="uc_id" value="{{ uc_id }}">
 
+        <div style="padding-top: 10px; padding-bottom: 10px; font-size: 16px;">
         <!-- Need to customize text more for other types of searches -->
         <p>We searched <a href="http://genenetwork.org/webqtl/main.py?FormID=sharinginfo&GN_AccessionId={{dataset.id}}">{{ dataset.fullname }}</a>
            to find all records
@@ -39,12 +37,14 @@
                     {% 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 <u>TERM</u> <b>{{ word.search_term[0] }}</b>{% if loop.last %}.{% else %} and {% endif %}
+                    that match the <u>TERM</u> <b>{{ word.search_term[0] }}</b>{% if loop.last %},{% else %} and {% endif %}
                     {% endif %}
                 {% endfor %}
+                and found {{ results|count }} records.
         </p>
 
         <p>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.</p>
+        </div>
 
         <div>
           <form id="trait_submission_form" target="_blank" action="/corr_matrix" method="post">
@@ -90,10 +90,6 @@
                     BNW
                 </button>
 
-                <button id="delete" class="btn btn-danger submit_special" style="margin-left: 15px;" data-url="/collections/delete" title="Delete this collection" >
-                    Delete Collection
-                </button>
-
           </form>
         </div>
 
-- 
cgit v1.2.3