X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/965f32d545d7c44ad7b36264b818b930a50d8901..69c1f6d1862aad00f80a0d2e32dbbe70aba65649:/app/views/user/view.html.erb
diff --git a/app/views/user/view.html.erb b/app/views/user/view.html.erb
index 04329feb7..c85ca5fd9 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 t('user.view.report'), new_issue_url(reportable_id: @this_user.id, reportable_type: @this_user.class.name) %>
-
<% 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), :title => t('user.view.report') do%>
+ <%= image_tag('notice.png', size: '10x10') %>
+ <% end %>
+
+ <% end %>
+
<%= @this_user.description.to_html %>