aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSeb Bacon <seb.bacon@gmail.com>2012-01-16 08:56:31 +0000
committerSeb Bacon <seb.bacon@gmail.com>2012-01-16 08:56:31 +0000
commit9099f63a364242764da529c109166e69fd2ec606 (patch)
tree9f4c0f4b35b4086a1382dae60aae1fdd7e154489
parenta51d4a0122baf607db50c7b88ee89033fc7b6540 (diff)
Don't repeat "no results" message for public bodies.
-rw-r--r--app/views/general/search.rhtml3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/views/general/search.rhtml b/app/views/general/search.rhtml
index 43aa9785a..fe6229293 100644
--- a/app/views/general/search.rhtml
+++ b/app/views/general/search.rhtml
@@ -7,7 +7,7 @@
<% if @query.nil? %>
<% @title = _("Search Freedom of Information requests, public authorities and users") %>
<% elsif @total_hits == 0 %>
- <% @title = _('There were no requests matching your query.') %>
+ <% @title = _('There were no results matching your query.') %>
<% else %>
<% @title = _("Results page {{page_number}}", :page_number => @page.to_s) %>
<% end%>
@@ -166,7 +166,6 @@
<%= will_paginate WillPaginate::Collection.new(@page, @bodies_per_page, @xapian_bodies.matches_estimated) %>
<% elsif @bodies && !@query.nil? && @xapian_bodies.results.size == 0 && @page == 1 %>
- <h2 class="publicbody_results"><%= _('No public authorities found') %></h2>
<% if @spelling_correction %>
<p id="did_you_mean"><%= _('Did you mean: {{correction}}', :correction => search_link(@spelling_correction, @postfix)) %></p>
<% end %>