From 9c54bcb71017d3679841b51457069bbfd4b55c75 Mon Sep 17 00:00:00 2001 From: Lebbeous Fogle-Weekley Date: Mon, 31 Oct 2011 11:00:02 -0400 Subject: [PATCH] Tpac: show staff saved searches on no-results page 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 Signed-off-by: Bill Erickson --- Open-ILS/src/templates/opac/parts/result/lowhits.tt2 | 5 ++++- Open-ILS/web/css/skin/default/opac/style.css | 3 ++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Open-ILS/src/templates/opac/parts/result/lowhits.tt2 b/Open-ILS/src/templates/opac/parts/result/lowhits.tt2 index ecf245df97..db8266a196 100644 --- a/Open-ILS/src/templates/opac/parts/result/lowhits.tt2 +++ b/Open-ILS/src/templates/opac/parts/result/lowhits.tt2 @@ -1,6 +1,9 @@
-
+
+ [% INCLUDE "opac/parts/staff_saved_searches.tt2" %] +
+

[% l('Sorry, no entries were found for') %] [% IF is_advanced OR is_special; l('your search'); ELSE %] [% CGI.param('query') | html %] diff --git a/Open-ILS/web/css/skin/default/opac/style.css b/Open-ILS/web/css/skin/default/opac/style.css index 91b789c250..e81b9d6900 100644 --- a/Open-ILS/web/css/skin/default/opac/style.css +++ b/Open-ILS/web/css/skin/default/opac/style.css @@ -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; -- 2.43.2