X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/a88da1d71af3a095e5496937e04731ed5d5632fe..79c306ad06155549ff6e5929ff20a1149b4862c4:/app/views/notes/show.html.erb diff --git a/app/views/notes/show.html.erb b/app/views/notes/show.html.erb index 71cb1275d..d17612e29 100644 --- a/app/views/notes/show.html.erb +++ b/app/views/notes/show.html.erb @@ -4,37 +4,63 @@
<%= 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 -%> +
<% @note_comments.drop(1).each do |comment| %>-
- <%= note_event(comment.event, comment.created_at, comment.author) %>
- <%= comment.body.to_html %>
+ <%= note_event(comment.event, comment.created_at, comment.author) %>
+
+ <%= comment.body.to_html %>
+
<% end %>
@@ -47,27 +73,44 @@+ <%= link_to t(".log_in_to_comment"), login_path(:referer => request.fullpath) %> +
<% end -%> <% else %>