X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/8bd001f1282b7a33a71c0565504e160dbe567d5d..de6aa3f01512986cf9690def3e9004f755da750a:/app/views/user/view.html.erb
diff --git a/app/views/user/view.html.erb b/app/views/user/view.html.erb
index bc70545f5..0b48d28d2 100644
--- a/app/views/user/view.html.erb
+++ b/app/views/user/view.html.erb
@@ -7,14 +7,14 @@
-
- <%= link_to t('.my edits'), :controller => 'changeset', :action => 'list', :display_name => current_user.display_name %>
+ <%= link_to t('.my edits'), :controller => 'changeset', :action => 'index', :display_name => current_user.display_name %>
<%= number_with_delimiter(current_user.changesets.size) %>
-
<%= link_to t('.my notes'), :controller => 'notes', :action=> 'mine' %>
-
- <%= link_to t('.my traces'), :controller => 'trace', :action=>'mine' %>
+ <%= link_to t('.my traces'), :controller => 'traces', :action => 'mine' %>
<%= number_with_delimiter(current_user.traces.size) %>
-
@@ -49,21 +49,21 @@
-
- <%= link_to t('.edits'), :controller => 'changeset', :action => 'list', :display_name => @user.display_name %>
+ <%= link_to t('.edits'), :controller => 'changeset', :action => 'index', :display_name => @user.display_name %>
<%= number_with_delimiter(@user.changesets.size) %>
-
<%= link_to t('.notes'), :controller => 'notes', :action=> 'mine' %>
-
- <%= link_to t('.traces'), :controller => 'trace', :action => 'list', :display_name => @user.display_name %>
+ <%= link_to t('.traces'), :controller => 'traces', :action => 'index', :display_name => @user.display_name %>
<%= number_with_delimiter(@user.traces.size) %>
-
- <%= link_to t('.send message'), :controller => 'message', :action => 'new', :display_name => @user.display_name %>
+ <%= link_to t('.send message'), new_message_path(@user) %>
-
<%= link_to t('.diary'), :controller => 'diary_entry', :action => 'list', :display_name => @user.display_name %>
@@ -102,6 +102,11 @@
<% end %>
+ <% if current_user and @user.id != current_user.id %>
+ -
+ <%= report_link(t(".report"), @user) %>
+
+ <% end %>
<% end %>