aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/general/frontpage.rhtml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/general/frontpage.rhtml')
-rw-r--r--app/views/general/frontpage.rhtml6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/general/frontpage.rhtml b/app/views/general/frontpage.rhtml
index e2d74a5e2..7f25cdd14 100644
--- a/app/views/general/frontpage.rhtml
+++ b/app/views/general/frontpage.rhtml
@@ -15,7 +15,7 @@
<%= _("Search over<br/>
<strong>{{number_of_requests}} requests</strong> <span>and</span><br/>
<strong>{{number_of_authorities}} authorities</strong>",
- :number_of_requests => InfoRequest.count, :number_of_authorities => PublicBody.count) %>
+ :number_of_requests => InfoRequest.visible.count, :number_of_authorities => PublicBody.visible.count) %>
</h2>
<% form_tag({:action => "search_redirect"}, {:id => "search_form"}) do %>
<div>
@@ -36,7 +36,7 @@
<div id="examples_0">
<h3><%= _("Who can I request information from?") %></h3>
<%= _("{{site_name}} covers requests to {{number_of_authorities}} authorities, including:",
- :site_name => site_name, :number_of_authorities => PublicBody.count) %>
+ :site_name => site_name, :number_of_authorities => PublicBody.visible.count) %>
<ul>
<% for popular_body in @popular_bodies %>
<li><%=public_body_link(popular_body)%>
@@ -59,7 +59,7 @@
<% end %>
</h3>
<%= _("{{site_name}} users have made {{number_of_requests}} requests, including:",
- :site_name => site_name, :number_of_requests => InfoRequest.count) %>
+ :site_name => site_name, :number_of_requests => InfoRequest.visible.count) %>
<ul>
<% for event in @request_events %>
<li>