]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/user/view.html.erb
basic UI for reporting diary entries,diary entry comments and user profiles
[rails.git] / app / views / user / view.html.erb
index f39bafec7392b0f952ca3c5c47f7e304b95c0378..7a422700d288bf3b918973cef1403f13ac0fddfc 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 'Report', new_issue_url(reportable_id: @this_user.id, reportable_type: @this_user.class.name, 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 %>