X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/c0adab7abaae779d2600aeb098f4d4fce07caba4..f1935b1c5786de8f27bee9b6b2da2f28f650468f:/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 1a792e873..0180e26ca 100644 --- a/app/views/browse/note.html.erb +++ b/app/views/browse/note.html.erb @@ -2,7 +2,7 @@ <%= render "sidebar_header", :title => t(".#{@note.status}_title", :note_name => @note.id) %> -
+

<%= t(".description") %>

<%= h(@note_comments.first.body.to_html) %> @@ -51,7 +51,7 @@
-
+
<% if current_user.moderator? -%> " class="btn btn-light" data-note-id="<%= @note.id %>" data-method="DELETE" data-url="<%= note_url(@note, "json") %>"> <% end -%> @@ -63,7 +63,7 @@ <% else %>
-
+
<% if 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 -%>