diff options
author | Seb Bacon <seb.bacon@gmail.com> | 2012-01-13 11:46:59 +0000 |
---|---|---|
committer | Seb Bacon <seb.bacon@gmail.com> | 2012-01-13 11:46:59 +0000 |
commit | 58832016b6be8ea5ca84e9bb28df80f87040cb50 (patch) | |
tree | e75bfe9a400f5f3708694da03391bd68afc40a1f | |
parent | b327f193cf34ec007627362cdeebc54b2fb2432b (diff) |
Show correct number of requests for logged in user on their user page.
-rw-r--r-- | app/views/user/show.rhtml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/user/show.rhtml b/app/views/user/show.rhtml index 2d2394f5c..4fa29f00d 100644 --- a/app/views/user/show.rhtml +++ b/app/views/user/show.rhtml @@ -147,7 +147,7 @@ <% end %> <% else %> <h2 class="foi_results" id="foi_requests"> - <%= @is_you ? n_('Your %d Freedom of Information request', 'Your %d Freedom of Information requests', @xapian_requests.results.size) % @xapian_requests.results.size : n_('This person\'s %d Freedom of Information request', 'This person\'s %d Freedom of Information requests', @xapian_requests.matches_estimated.to_s) % @xapian_requests.matches_estimated %> + <%= @is_you ? n_('Your %d Freedom of Information request', 'Your %d Freedom of Information requests', @xapian_requests.matches_estimated.to_s) % @xapian_requests.matches_estimated.to_s : n_('This person\'s %d Freedom of Information request', 'This person\'s %d Freedom of Information requests', @xapian_requests.matches_estimated.to_s) % @xapian_requests.matches_estimated %> <!-- matches_estimated <%=@xapian_requests.matches_estimated%> --> <%= @match_phrase %> <%= @page_desc %> |