<% @title = h(@display_user.name) + (@is_you ? " (you)" : "") %> <% if (@same_name_users.size >= 1) %>

This is just one person who uses this site and has this name, you may mean a different one: <% for @same_name_user in @same_name_users %> <%= user_link(@same_name_user) %> <% end %> <% end%>

People tracking this person

<%= render :partial => 'track/tracking_people_and_link', :locals => { :track_thing => @track_thing, :own_request => false, :list_people => true } %>

<%=@title%>

Joined WhatDoTheyKnow on <%= simple_date(@display_user.created_at) %>

<%= link_to "Send message to " + h(@display_user.name), contact_user_url(:id => @display_user.id) %> <% if @is_you %> (just to see how it works)
<%= link_to "Change your password", signchange_url() %> <% else %> <% end %>

<% if not @display_user.track_things.empty? %>

<%= @is_you ? 'You are' : 'This person is' %> tracking <%=pluralize(@display_user.track_things.size, "thing") %>

<% if not @is_you %>

If you are <%=h @display_user.name %>, <%= link_to "sign in", signin_url(:r => request.request_uri) %> to alter these settings.

<% end %> <% end %> <% if @display_user.info_requests.empty? %>

Freedom of Information requests made by <%= @is_you ? 'you' : 'this person' %>

<%= @is_you ? 'You have' : 'This person has' %> made no Freedom of Information requests using this site.

<% else %>

<%= @is_you ? 'You have' : 'This person has' %> made <%=pluralize(@display_user.info_requests.size, "Freedom of Information request") %>

<%= render :partial => 'request/request_listing', :locals => { :info_requests => @display_user.info_requests } %> <% end %>