5 <% if @note.status == "closed" %>
6 <%= image_tag("closed_note_marker.png", :alt => 'closed') %>
7 <%= t 'browse.note.closed_title', :note_name => @note.id %>
9 <%= image_tag("open_note_marker.png", :alt => 'open') %>
10 <%= t 'browse.note.open_title', :note_name => @note.id %>
15 <%= render :partial => "navigation" %>
22 <th><%= t 'browse.note.created_at' %></th>
23 <td><%= l @note.created_at %></td>
26 <th><%= t 'browse.note.edited_at' %></th>
27 <td><%= l @note.updated_at %></td>
29 <% if @note.status == "closed" %>
31 <th><%= t 'browse.note.closed_at' %></th>
32 <td><%= l @note.closed_at %></td>
36 <th><%= t 'browse.note.opened_by' %></th>
37 <% if @note.author.nil? %>
38 <td> <%= @note.author_name %> </td>
40 <td><%= link_to h(@note.author_name), :controller => "user", :action => "view", :display_name => @note.author_name %></td>
44 <th><%= t 'browse.note.description' %></th>
45 <td><%= h(@note.comments.first.body) %></td>
48 <th><%= t 'browse.node_details.coordinates' %></th>
49 <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>
55 <% if @note.comments.length > 1 %>
58 <th width="20%"> <%= t 'browse.note.comment_by' %></th>
59 <th width="60%"> <%= t 'browse.note.comment' %></th>
60 <th width="20%"> <%= t 'browse.note.date' %></th>
62 <% @note.comments[1..-1].each do |comment| %>
65 <% if comment.author.nil? %>
66 <%= comment.author_name %>
68 <%= link_to h(comment.author.display_name), :controller => "user", :action => "view", :display_name => comment.author.display_name %>
71 <td> <%= h(comment.body) %> </td>
72 <td> <%= l comment.created_at %> </td>
81 <%= render :partial => "map", :object => @note %>