X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/aca9bd205e78ac5f5d37489b2583817c178a6f8e..837924027a804a1a31ae1a2a3958c8e27e402a5e:/app/views/notes/show.html.erb?ds=inline diff --git a/app/views/notes/show.html.erb b/app/views/notes/show.html.erb index 8dda65c25..d0dcdeb1b 100644 --- a/app/views/notes/show.html.erb +++ b/app/views/notes/show.html.erb @@ -5,26 +5,24 @@
<%= note_event("opened", @note.created_at, @note.author) %>
+ <% if @note.status == "closed" %> +<%= note_event(@note.status, @note.closed_at, @note.all_comments.last.author) %>
+ <% end %> ++ <%= t "browse.location" %> + <%= link_to t(".coordinates_html", + :latitude => tag.span(number_with_delimiter(@note.lat), :class => "latitude"), + :longitude => tag.span(number_with_delimiter(@note.lon), :class => "longitude")), + root_path(:anchor => "map=18/#{@note.lat}/#{@note.lon}") %> +
<%= t ".anonymous_warning" %>
<% end -%> @@ -54,10 +52,10 @@ <% end %>
- <% @note_comments.drop(1).each do |comment| %> + <% @note_comments.each do |comment| %>-
<%= note_event(comment.event, comment.created_at, comment.author) %>