X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/5bed2178231b783176551d21734d23b7a32f0d16..9c83235f72aece554426751e334c1f0b4ccaea64:/app/views/browse/note.html.erb diff --git a/app/views/browse/note.html.erb b/app/views/browse/note.html.erb index ac0ba9a23..a677a7c14 100644 --- a/app/views/browse/note.html.erb +++ b/app/views/browse/note.html.erb @@ -23,6 +23,10 @@

<%= t "javascripts.notes.show.anonymous_warning" %>

<% end -%> + <% if current_user && current_user != @note.author %> +

<%= report_link(t(".report"), @note) %>

+ <% end %> + <% if @note_comments.length > 1 %>