X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/b446138aefb04799cc1253886335ced16e546517..d3700e6201b4b78a70bbb2941572edc985b63c2c:/app/views/user/view.html.erb diff --git a/app/views/user/view.html.erb b/app/views/user/view.html.erb index f794b5e71..0acb3f014 100644 --- a/app/views/user/view.html.erb +++ b/app/views/user/view.html.erb @@ -63,7 +63,7 @@
  • - <%= 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 %>