X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/9018d1af07c53b03bf8caf0480b931dc25f57147..dce0f1639e9ac0c4d79182725b2996ad85c4d279:/app/views/browse/note.html.erb diff --git a/app/views/browse/note.html.erb b/app/views/browse/note.html.erb index 0180e26ca..24240d6df 100644 --- a/app/views/browse/note.html.erb +++ b/app/views/browse/note.html.erb @@ -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") %>">