X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/20e02f42dc5d946f4650c806531b09f793abf503..c5d1f3381dfa81b4aac2d24dd057143bafbf661c:/app/views/user/view.rhtml diff --git a/app/views/user/view.rhtml b/app/views/user/view.rhtml index 6f6bdb450..2328fb39a 100644 --- a/app/views/user/view.rhtml +++ b/app/views/user/view.rhtml @@ -50,20 +50,18 @@ <%end%>
-
-<%= link_to 'show unread messages', :controller => 'user', :action => 'view', :display_name => @user.display_name, :unread => true %> +<%= link_to 'show all messages', :controller => 'user', :action => 'view', :display_name => @user.display_name, :unread => true %>

+Go to <%= link_to 'your account page', :controller => 'user', :action => 'account', :display_name => @user.display_name %> to see who's mapping in your area. -<%= link_to 'go to your account page', :controller => 'user', :action => 'account', :display_name => @user.display_name %>

<% else %> -<%= link_to 'send message', :controller => 'message', :action => 'new', :display_name => @this_user.display_name %>

+<%= link_to 'send message', :controller => 'message', :action => 'new', :user_id => @this_user.id %>

<%= 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 %>

- +
+

<%= params[:display_name] %> says:

<%= simple_format(@this_user.description) %>