X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/bc39159a68284e995f88805ed6af2ab3408a4ed0..44217775f0f8556c662aa9b39aeed80c97c7f8ed:/app/views/user/view.html.erb diff --git a/app/views/user/view.html.erb b/app/views/user/view.html.erb index cc4bbf8a6..0e99a2861 100644 --- a/app/views/user/view.html.erb +++ b/app/views/user/view.html.erb @@ -14,7 +14,7 @@ <%= 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) %>
  • @@ -56,7 +56,7 @@ <%= 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) %>
  • @@ -102,6 +102,11 @@ <% end %> + <% if current_user and @user.id != current_user.id %> +
  • + <%= report_link(t(".report"), @user) %> +
  • + <% end %> <% end %>