diff --git a/app/assets/stylesheets/partials/_results.scss b/app/assets/stylesheets/partials/_results.scss
index e7403fe6..aa255252 100644
--- a/app/assets/stylesheets/partials/_results.scss
+++ b/app/assets/stylesheets/partials/_results.scss
@@ -255,6 +255,23 @@
}
}
+.no-results.use {
+ border: 0;
+ font-size: 1.6rem;
+ line-height: $lh-xloose;
+ margin: 0;
+ max-width: 760px;
+
+ a {
+ @include underlinedLinks;
+ font-weight: $fw-medium;
+ }
+
+ p:last-child {
+ margin-bottom: 0;
+ }
+}
+
// -----------------------------
// Result list and Sidebar - USE
// -----------------------------
diff --git a/app/views/search/_no_results.html.erb b/app/views/search/_no_results.html.erb
new file mode 100644
index 00000000..79ad57aa
--- /dev/null
+++ b/app/views/search/_no_results.html.erb
@@ -0,0 +1,22 @@
+
+
No results were found
+
Any misspellings in your search terms?
+
+
Even if we don't own it, we can often get it for you:
+
+ - Articles: Request via ILLiad
+
- Books, physical materials: Search WorldCat and submit a request.
+
+
+
A specialized or advanced search may work better:
+
+
+
Ask Us for more help!
+
\ No newline at end of file
diff --git a/app/views/search/results.html.erb b/app/views/search/results.html.erb
index d0d7b457..c036db64 100644
--- a/app/views/search/results.html.erb
+++ b/app/views/search/results.html.erb
@@ -41,9 +41,7 @@
-
-
No results found for your search
-
+ <%= render partial: "no_results" %>
diff --git a/test/controllers/search_controller_test.rb b/test/controllers/search_controller_test.rb
index 4d4fd25f..5b48d24d 100644
--- a/test/controllers/search_controller_test.rb
+++ b/test/controllers/search_controller_test.rb
@@ -499,7 +499,7 @@ def mock_timdex_search_with_hits(total_hits)
# Result list contents state "no results"
assert_select '#results'
assert_select '#results', { count: 1 }
- assert_select '#results .no-results p', 'No results found for your search'
+ assert_select '#results .no-results h2', 'No results were found'
# Filter sidebar is not shown
assert_select '#filters', { count: 0 }
@@ -927,7 +927,7 @@ def source_filter_count(controller)
get '/results?q=nonexistentterm&tab=primo'
assert_response :success
assert_select '.no-results', count: 1
- assert_select '.no-results p', text: /No results found for your search/
+ assert_select '.no-results h2', text: /No results were found/
refute_select '.primo-continuation'
end
@@ -952,7 +952,7 @@ def source_filter_count(controller)
get '/results?q=nonexistentterm&tab=timdex'
assert_response :success
assert_select '.no-results', count: 1
- assert_select '.no-results p', text: /No results found for your search/
+ assert_select '.no-results h2', text: /No results were found/
refute_select '.primo-continuation'
end