X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/8bd001f1282b7a33a71c0565504e160dbe567d5d..9c83235f72aece554426751e334c1f0b4ccaea64:/app/views/browse/note.html.erb?ds=sidebyside 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 %>
@@ -38,10 +42,14 @@ <% if @note.status == "open" %>
@@ -49,8 +57,12 @@ <% end %>