X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/f398c1e5eb35fa9e355544fb2860bc2ca9cfbe67..c87379ba69cad29b003f919b371b4227cc9a8d37:/app/views/browse/note.html.erb diff --git a/app/views/browse/note.html.erb b/app/views/browse/note.html.erb index fb186e55e..fdb4eed09 100644 --- a/app/views/browse/note.html.erb +++ b/app/views/browse/note.html.erb @@ -60,7 +60,7 @@
- <% if current_user and current_user.moderator? -%> + <% if @note.status != "hidden" and current_user and current_user.moderator? -%> " class="btn btn-light" data-note-id="<%= @note.id %>" data-method="DELETE" data-url="<%= note_url(@note, "json") %>"> <% end -%> <% if current_user -%>