1 <%= render :partial => "navigation" %>
4 <%= image_tag "#{@note.status}_note_marker.png", :alt => @note.status %>
5 <%= t "browse.note.#{@note.status}_title", :note_name => @note.id %>
8 <%= render :partial => "map", :object => @note %>
10 <table class="browse_details">
13 <th><%= t "browse.note.opened" %></th>
14 <td><%= t "browse.note.at_by", :when => friendly_date(@note.created_at), :user => note_author(@note) %></td>
17 <% if @note.status == "closed" %>
19 <th><%= t "browse.note.closed" %></th>
20 <td><%= t "browse.note.at_by", :when => friendly_date(@note.closed_at), :user => note_author(@note.comments.last) %></td>
22 <% elsif @note.comments.length > 1 %>
24 <th><%= t "browse.note.last_modified" %></th>
25 <td><%= t "browse.note.at_by", :when => friendly_date(@note.updated_at), :user => note_author(@note.comments.last) %></td>
30 <th><%= t "browse.note.description" %></th>
31 <td><%= h(@note.comments.first.body) %></td>
35 <th><%= t "browse.node_details.coordinates" %></th>
36 <td><div class="geo"><%= link_to ("<span class='latitude'>#{number_with_delimiter(@note.lat)}</span>, <span class='longitude'>#{number_with_delimiter(@note.lon)}</span>"), {:controller => 'site', :action => 'index', :lat => h(@note.lat), :lon => h(@note.lon), :zoom => "18"} %></div></td>
39 <% if @note.comments.length > 1 %>
41 <th><%= t "browse.note.comments" %></th>
42 <td class="browse_comments">
44 <% @note.comments[1..-1].each do |comment| %>
47 <%= h(comment.body) %>
49 <span class="by"><%= t "browse.note.at_by", :when => friendly_date(comment.created_at), :user => note_author(comment) %></span>