X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/f9811827317220eac86a16d7d9a2f67205d35ff1..d235b12767bba240611fc6452b7508627c56542b:/app/views/browse/note.html.erb?ds=inline diff --git a/app/views/browse/note.html.erb b/app/views/browse/note.html.erb index 1a792e873..af859651e 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) %> @@ -48,10 +48,10 @@ <% if @note.status == "open" %> <% if current_user -%>
-
+
-
+
<% 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 -%>