X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/a15f4ed9bf99b88989fac60a2eca9b8ab1eb57a7..a90302aecf579ca29fa5ea0b1e9d03f81b8bbde4:/app/views/notes/show.html.erb?ds=inline diff --git a/app/views/notes/show.html.erb b/app/views/notes/show.html.erb index b3f124433..a04cbf9d9 100644 --- a/app/views/notes/show.html.erb +++ b/app/views/notes/show.html.erb @@ -51,7 +51,7 @@ -
+
<% if current_user.moderator? -%> <%= submit_tag t(".hide"), :name => "hide", :class => "btn btn-light", :data => { :method => "DELETE", @@ -77,7 +77,7 @@ -
+
<% 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") %>"> <% end -%>