X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/060d6086ca8b1d5791c6116484c1267659bee812..6674873478c9fe221d2fd78f76cabc6d4b03c0aa:/app/views/user/view.html.erb diff --git a/app/views/user/view.html.erb b/app/views/user/view.html.erb index e50610037..931037319 100644 --- a/app/views/user/view.html.erb +++ b/app/views/user/view.html.erb @@ -81,7 +81,7 @@ <% end %> <% end %> - (<%= link_to t('user.view.send message'), :controller => 'message', :action => 'new', :user_id => @friend.id %>) + (<%= link_to t('user.view.send message'), :controller => 'message', :action => 'new', :display_name => @friend.display_name %>) <%end%> @@ -110,7 +110,7 @@ <%= t 'user.view.km away', :count => distance.round %> <% end %> - (<%= link_to t('user.view.send message'), :controller => 'message', :action => 'new', :user_id => nearby.id %>) + (<%= link_to t('user.view.send message'), :controller => 'message', :action => 'new', :display_name => nearby.display_name %>) <% end %> @@ -122,4 +122,6 @@
<% if @user and @this_user.id == @user.id %> <%= link_to t('user.view.change your settings'), :controller => 'user', :action => 'account', :display_name => @user.display_name %> +

+<%= link_to t('user.view.my_oauth_details'), :controller => 'oauth_clients', :action => 'index' %> <% end %>