X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/18883b59c88940b9bd323756e60603302f185dfd..a01195f1497b4f4c6b7d019c7affc794d41101cd:/app/views/browse/note.html.erb diff --git a/app/views/browse/note.html.erb b/app/views/browse/note.html.erb index 59c96c4aa..31fd00f01 100644 --- a/app/views/browse/note.html.erb +++ b/app/views/browse/note.html.erb @@ -1,58 +1,67 @@ -<%= render :partial => "navigation" %> +<% content_for :head do %> +<%= stylesheet_link_tag 'browse' %> +<% end %> + +<% content_for :heading do %> +
<%= t "browse.note.opened" %> | -<%= t "browse.note.at_by", :when => friendly_date(@note.created_at), :user => note_author(@note) %> | -|
---|---|---|
<%= t "browse.note.closed" %> | -<%= t "browse.note.at_by", :when => friendly_date(@note.closed_at), :user => note_author(@note.comments.last) %> | -|
<%= t "browse.note.last_modified" %> | -<%= t "browse.note.at_by", :when => friendly_date(@note.updated_at), :user => note_author(@note.comments.last) %> | -|
<%= t "browse.note.description" %> | -<%= h(@note.comments.first.body) %> | -|
<%= t "browse.node_details.coordinates" %> | -<%= link_to ("#{number_with_delimiter(@note.lat)}, #{number_with_delimiter(@note.lon)}"), {:controller => 'site', :action => 'index', :lat => h(@note.lat), :lon => h(@note.lon), :zoom => "18"} %> |
- |
<%= t "browse.note.comments" %> | -
-
|
-