X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/3ea2c30c58bb23247296fc212fcf7426668248a6..a90302aecf579ca29fa5ea0b1e9d03f81b8bbde4:/app/views/notes/show.html.erb diff --git a/app/views/notes/show.html.erb b/app/views/notes/show.html.erb index 3a1224676..a04cbf9d9 100644 --- a/app/views/notes/show.html.erb +++ b/app/views/notes/show.html.erb @@ -4,7 +4,7 @@

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

-
+
<%= h(@note_comments.first.body.to_html) %>
@@ -33,7 +33,7 @@
-
+
<% if current_user.moderator? -%> <%= submit_tag t(".hide"), :name => "hide", :class => "btn btn-light", :data => { :method => "DELETE", @@ -75,7 +75,9 @@ <% else %>
-
+ +
<% if @note.status != "hidden" and current_user and current_user.moderator? -%> " class="btn btn-light" data-method="DELETE" data-url="<%= api_note_url(@note, "json") %>"> <% end -%> @@ -88,7 +90,7 @@ <% if current_user && current_user != @note.author %>

- + <%= t ".report_link_html", :link => report_link(t(".report"), @note) %> <% if @note.status == "open" %> <%= t ".other_problems_resolve", :link => report_link(t(".report"), @note) %> @@ -100,7 +102,7 @@ <% end %> <% if @note.freshly_closed? %> - + <%= t ".disappear_date_html", :disappear_in => friendly_date(@note.freshly_closed_until) %> <% end %>