X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/3d7eb387a7c3573f1a1d17df00adcaa1fb9b9fa5..eee1c2349cbff0788a1b5a1327915a784f3e25e2:/app/views/browse/note.html.erb diff --git a/app/views/browse/note.html.erb b/app/views/browse/note.html.erb index 12de1114f..31fd00f01 100644 --- a/app/views/browse/note.html.erb +++ b/app/views/browse/note.html.erb @@ -1,57 +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_html", :when => friendly_date(@note.created_at), :user => note_author(@note) %> | -|
---|---|---|
<%= t "browse.note.closed" %> | -<%= t "browse.note.at_by_html", :when => friendly_date(@note.closed_at), :user => note_author(@note.comments.last) %> | -|
<%= t "browse.note.last_modified" %> | -<%= t "browse.note.at_by_html", :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)}".html_safe), {:controller => 'site', :action => 'index', :lat => h(@note.lat), :lon => h(@note.lon), :zoom => "18"} %> |
- |
<%= t "browse.note.comments" %> | -
-
|
-