]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/note.html.erb
Create a report_link helper, and use text instead of a flag icon
[rails.git] / app / views / browse / note.html.erb
index 1bacd27d6b2dc3db27b476e2dc06d860a1cf78ef..fa9e886280780a1cfbefdb4a045b2f84697dba8b 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>