]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/note.html.erb
Reposition the note and user report flags
[rails.git] / app / views / browse / note.html.erb
index 1bacd27d6b2dc3db27b476e2dc06d860a1cf78ef..075ac6462de78eaa2da850e9ca517adc0a1655fa 100644 (file)
       <br/>
       <%= note_event(@note.status, @note.closed_at, @note_comments.last.author) %>
     <% end %>
+    <% if current_user && current_user != @note.author %>
+      <%= link_to new_report_url(reportable_id: @note.id, reportable_type: @note.class.name), :title => t('browse.note.report') do %>
+          &nbsp;&#9872;
+      <% end %>
+    <% end %>
   </div>
 
   <% if @note_comments.find { |comment| comment.author.nil? } -%>