X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/683722ed5c1b3224a04c23b4d175a0638964f713..bdc6adddbfdcc57bd300688f48b28e027e561728:/app/views/user/view.html.erb?ds=sidebyside diff --git a/app/views/user/view.html.erb b/app/views/user/view.html.erb index f39bafec7..7a422700d 100644 --- a/app/views/user/view.html.erb +++ b/app/views/user/view.html.erb @@ -81,7 +81,9 @@ <%= link_to t('user.view.add as friend'), make_friend_path(:display_name => @this_user.display_name) %> <% end %> - +
  • + <%= link_to 'Report', new_issue_url(reportable_id: @this_user.id, reportable_type: @this_user.class.name, user_id: @this_user.id) %> +
  • <% if @this_user.blocks.exists? %>
  • <%= link_to t('user.view.block_history'), :controller => 'user_blocks', :action => 'blocks_on', :display_name => @this_user.display_name %>