Tpac: show staff saved searches on no-results page
authorLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Mon, 31 Oct 2011 15:00:02 +0000 (11:00 -0400)
committerBill Erickson <berick@esilibrary.com>
Mon, 31 Oct 2011 16:17:47 +0000 (12:17 -0400)
Not having it there is awkward for the user who relies on the feature
and enters a search term that gets no results.

Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Signed-off-by: Bill Erickson <berick@esilibrary.com>

Open-ILS/src/templates/opac/parts/result/lowhits.tt2
Open-ILS/web/css/skin/default/opac/style.css

index ecf245d..db8266a 100644 (file)
@@ -1,6 +1,9 @@
 <div>
     <div id="zero_search_hits">
-        <div>
+        <div class="zero_search_hits_saved">
+            [% INCLUDE "opac/parts/staff_saved_searches.tt2" %]
+        </div>
+        <div class="zero_search_hits_main">
             <p>[% l('Sorry, no entries were found for') %]
                 [% IF is_advanced OR is_special; l('your search'); ELSE %]
                 <q>[% CGI.param('query') | html %]</q>
index 91b789c..e81b9d6 100644 (file)
@@ -685,7 +685,8 @@ span.dash_divider {
        padding-bottom:5px;
 }
 
-#zero_search_hits div { float:left;width:300px;margin-top:20px; }
+.zero_search_hits_main { float:left; width:300px; margin-top: 2ex; }
+.zero_search_hits_saved { float:left; width:200px; margin-top: 2ex; margin-right: 2em; }
 
 #zero_search_hits p {
        margin-top:0;