From: Tom Hughes Date: Mon, 3 Oct 2022 18:20:36 +0000 (+0100) Subject: Merge remote-tracking branch 'upstream/pull/3726' X-Git-Tag: live~2368 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/8d898f8f93169e9e7844122329c6753fe9c71a19?hp=41f174be3ddb4adb1401bc3287225df7ac67a803 Merge remote-tracking branch 'upstream/pull/3726' --- 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 -%>