]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/note.html.erb
Merge branch 'master' into next
[rails.git] / app / views / browse / note.html.erb
index 37067c311fe812d3dab1606763094f0cbd8352bc..53ea0759e9f79866bbbfc97dfe416e0b0a1d0e8d 100644 (file)
     <p class='warning'><%= t "javascripts.notes.show.anonymous_warning" %></p>
   <% end -%>
 
+  <% if current_user && current_user != @note.author %>
+    <p class="deemphasize"><%= report_link(t(".report"), @note) %></p>
+  <% end %>
+
   <% if @note_comments.length > 1 %>
     <div class='note-comments'>
       <ul>