aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/views/user/show.rhtml15
1 files changed, 9 insertions, 6 deletions
diff --git a/app/views/user/show.rhtml b/app/views/user/show.rhtml
index f21a9d0d5..d2966fcfe 100644
--- a/app/views/user/show.rhtml
+++ b/app/views/user/show.rhtml
@@ -83,10 +83,11 @@
<% end %>
<% if @xapian_requests.results.empty? %>
- <h2>Freedom of Information requests made by <%= @is_you ? 'you' : 'this person' %> </h2>
- <p><%= @is_you ? 'You have' : 'This person has' %>
- made no Freedom of Information requests using this site.</p>
-
+ <% if @page == 1 %>
+ <h2>Freedom of Information requests made by <%= @is_you ? 'you' : 'this person' %> </h2>
+ <p><%= @is_you ? 'You have' : 'This person has' %>
+ made no Freedom of Information requests using this site.</p>
+ <% end %>
<% else %>
<h2>
<%= @is_you ? 'Your ' : "This person's " %>
@@ -103,8 +104,10 @@
<% end %>
<% if @xapian_comments.results.empty? %>
- <h2><%= @is_you ? 'Your' : 'This person\'s' %> annotations </h2>
- <p>None made.</p>
+ <% if @page == 1 %>
+ <h2><%= @is_you ? 'Your' : 'This person\'s' %> annotations </h2>
+ <p>None made.</p>
+ <% end %>
<% else %>
<h2>
<%= @is_you ? 'Your ' : "This person's " %>