X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/e6dbf56d43de52513a9e80367d8c2eb4e7bc21a1..e842c7be9774531cf2d95230b7d2fecc5b5f65d9:/app/views/browse/note.html.erb diff --git a/app/views/browse/note.html.erb b/app/views/browse/note.html.erb index 1a792e873..97787b178 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 -%> @@ -62,8 +62,8 @@ <% end -%> <% 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 -%>