5 <% if @bug.status == "closed" %>
6 <%= image_tag("closed_bug_marker.png", :alt => 'closed') %>
7 <%= t'browse.bug.closed_title', :bug_name => @bug.id %>
9 <%= image_tag("open_bug_marker.png", :alt => 'open') %>
10 <%= t'browse.bug.open_title', :bug_name => @bug.id %>
15 <%= render :partial => "navigation" %>
22 <th><%= t 'browse.bug.created_at' %></th>
23 <td><%= l @bug.date_created %></td>
27 <th><%= t 'browse.bug.edited_at' %></th>
28 <td><%= l @bug.last_changed %></td>
30 <% if @bug.status == "closed" %>
32 <th><%= t 'browse.bug.closed_at' %></th>
33 <td><%= l @bug.date_closed %></td>
37 <th><%= t 'browse.bug.opened_by' %></th>
38 <% if @bug.map_bug_comment[0].user.nil? %>
39 <td> <%= @bug.map_bug_comment[0].commenter_name %> </td>
41 <td><%= link_to h(@bug.map_bug_comment[0].user.display_name), :controller => "user", :action => "view", :display_name => @bug.map_bug_comment[0].user.display_name %></td>
45 <th><%= t 'browse.bug.description' %></th>
46 <td><%= h(@bug.map_bug_comment[0].comment) %></td>
50 <th><%= t 'browse.node_details.coordinates' %></th>
51 <td><div class="geo"><%= link_to ("<span class='latitude'>#{number_with_delimiter(@bug.lat)}</span>, <span class='longitude'>#{number_with_delimiter(@bug.lon)}</span>"), {:controller => 'site', :action => 'index', :lat => h(@bug.lat), :lon => h(@bug.lon), :zoom => "18"} %></div></td>
58 <%if @bug.map_bug_comment.length > 1 %>
62 <th width="20%"> <%= t 'browse.bug.comment_by' %></th> <th width="60%"> <%= t 'browse.bug.comment' %></th> <th width="20%"> <%= t 'browse.bug.date' %></th>
64 <% @bug.map_bug_comment[1..-1].each do |bug_comment| %>
68 <% if bug_comment.user.nil? %>
69 <%= bug_comment.commenter_name %>
71 <%= link_to h(bug_comment.user.display_name), :controller => "user", :action => "view", :display_name => bug_comment.user.display_name %>
74 <td> <%= h(bug_comment.comment) %> </td>
75 <td> <%= l bug_comment.date_created %> </td>
85 <%= render :partial => "map", :object => @bug %>