<%= @this_user.display_name %>
<% if @user and @this_user.id == @user.id %>
<%= link_to 'go to your account page', :controller => 'user', :action => 'account', :display_name => @user.display_name %>
<% else %>
<%= link_to 'send message', :controller => 'user', :action => 'message', :display_name => @this_user.display_name %>
|
<%= link_to 'Add as friend', :controller => 'user', :action => 'make_friend', :display_name => @this_user.display_name %>
<% end %>
<%= link_to 'diary', :controller => 'user', :action => 'diary', :display_name => @this_user.display_name %>
<%= simple_format(@this_user.description) %>