X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/bdc6adddbfdcc57bd300688f48b28e027e561728..f3519e97819cc5a5e2c2f9931c7d565b8e5227c8:/app/views/user/view.html.erb
diff --git a/app/views/user/view.html.erb b/app/views/user/view.html.erb
index 7a422700d..5ff594dd1 100644
--- a/app/views/user/view.html.erb
+++ b/app/views/user/view.html.erb
@@ -81,9 +81,6 @@
<%= 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 %>
@@ -156,6 +153,14 @@
+ <% if @user and @this_user.id != @user.id %>
+
+ <%= link_to new_issue_url(reportable_id: @this_user.id, reportable_type: @this_user.class.name, reported_user_id: @this_user.id,referer: request.fullpath), :title => t('user.view.report') do%>
+ ⚐
+ <% end %>
+
+ <% end %>
+
<%= @this_user.description.to_html %>