X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/3ea2c30c58bb23247296fc212fcf7426668248a6..12ac6f8f27dfe63d9674fba54862db13a9e6d89a:/app/views/notes/show.html.erb?ds=sidebyside diff --git a/app/views/notes/show.html.erb b/app/views/notes/show.html.erb index 3a1224676..a7baccf85 100644 --- a/app/views/notes/show.html.erb +++ b/app/views/notes/show.html.erb @@ -75,6 +75,8 @@ <% else %>
+
<% if @note.status != "hidden" and current_user and current_user.moderator? -%> " class="btn btn-light" data-method="DELETE" data-url="<%= api_note_url(@note, "json") %>">