X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/8ecb53b8692cbaac262fba5b1baa632d7cef5353..dce0f1639e9ac0c4d79182725b2996ad85c4d279:/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 6dcd46e76..24240d6df 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) %> @@ -29,7 +29,7 @@ <% end -%> <% if current_user && current_user != @note.author %> -

<%= report_link(t(".report"), @note) %>

+

<%= t "javascripts.notes.show.report_link_html", :link => report_link(t(".report"), @note) %>

<% end %> <% if @note_comments.length > 1 %> @@ -48,7 +48,7 @@ <% if @note.status == "open" %> <% if current_user -%>
-
+
@@ -62,7 +62,7 @@ <% 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") %>">