]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/user/view.html.erb
DB changes + Related issues added
[rails.git] / app / views / user / view.html.erb
index f39bafec7392b0f952ca3c5c47f7e304b95c0378..41d7b0064213c819b62fa66486cbed77a4d16767 100644 (file)
@@ -81,7 +81,9 @@
               <%= link_to t('user.view.add as friend'), make_friend_path(:display_name => @this_user.display_name) %>
             <% end %>
           </li>
-
+          <li>
+             <%= link_to t('user.view.report'), new_issue_url(reportable_id: @this_user.id, reportable_type: @this_user.class.name, reported_user_id: @this_user.id) %>
+          </li>
           <% if @this_user.blocks.exists? %>
             <li>
               <%= link_to t('user.view.block_history'), :controller => 'user_blocks', :action => 'blocks_on', :display_name => @this_user.display_name %>