X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/257f4673e1dd86a3704f6a965e5e077283a04a00..5bb23f6f5f8fed81f1166a15344e44afa7fbb480:/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..d17612e29 100644 --- a/app/views/notes/show.html.erb +++ b/app/views/notes/show.html.erb @@ -9,19 +9,17 @@
- +

<%= 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}") %> +

<% if @note_comments.find { |comment| comment.author.nil? } -%>